Re: [Exim] address rewriting depending on the recipients dom…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: David Woodhouse
Fecha:  
A: Sven Fichtner
Cc: exim-users
Asunto: Re: [Exim] address rewriting depending on the recipients domain
On Tue, 2003-08-26 at 11:27 +0200, Sven Fichtner wrote:
> One company is using internal addresses like eu@??? which shall
> be rewritten to example.user@???. If the email is being send to
> an internal recepient like i.e. ou@???, the address shall not be
> rewritten. To have an address rewritten is not a problem at all, but it
> shall be depending on the domain if an address will be rewritten or not.


What if a message is sent to both internal and external recipients? You
want to rewrite the copy which goes outside but not the one which
remains internal?

One way of doing this is to have your internal mail machines send
outgoing mail to a smarthost rather than directly to external
recipients. That smarthost can then do the rewriting for you, and it
obviously then does it only for mail which is destined for the outside.

You can achieve this with two Exim configurations on the same machine,
and you should probably even be able to do it with Exim 3, although you
should probably upgrade anyway.

--
dwmw2