Re: [EXIM] Rewriting only on a special router

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Alexander Koch
CC: exim-users
Assunto: Re: [EXIM] Rewriting only on a special router
On Wed, 9 Dec 1998, Alexander Koch wrote:

> Is there any way to only apply the rewrite rules on
> a per-transport or a per-router basis?


No, because there is only one copy of the message, and if it has several
recipients, some might need rewriting and some might not. The only way to
do this is to get the message split up before you do any rewriting, and
the only way of doing this currently is to run two different Exims, one
doing local deliveries and not rewriting, and handing over messages for
remote delivery to the other Exim, which does do the rewriting. You
don't need two machines for this; you can run the 2nd exim listening on
another IP port (and accepting mail only from localhost).

Doing per transport (or per router) rewriting is somewhere on the Wish
List, but it is at least a Large, if not a Gigantic, project. However,
it seems to becoming commonly needed, so maybe I should try to think
about it when the next release is done.

Personally, I'm not convinced of the "rightness" of rewriting some
copies of a message and not others - it means that the different
recipients do not receive the same message, in some sense. However, I
recognize the pressures that some people are under from customers who
think they know what "should" happen...


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***