Re: [exim] Problem with RCPT TO: Rewriting

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Dave Evans
Date:  
À: exim-users
Sujet: Re: [exim] Problem with RCPT TO: Rewriting
On Mon, Apr 26, 2010 at 02:56:27PM +0200, Matthias-Christian Ott wrote:
> begin routers
>
> shadow_redirect:
> driver = redirect
> data = ott@???, example@???
> unseen
>
> manual_route:
> driver = manualroute
> domains = *
> route_list = * server1.example.com
> transport = remote_smtp
>
> begin transports
>
> remote_smtp:
> driver = smtp
> return_path = example@???


So: all recipients are rewritten to ott@??? + example@??? + the
original recipient, then all of those are sent to the host
server1.example.com. Is that what you wanted?

> As far as I understood it, Exim should rewrite "MAIL FROM:"
> to example@??? and "RCPT TO:" to ott@??? and
> example@???.


That's not what the above config does.

> If I now send a message to root@??? (the server that
> runs with the above configuration), it there seems to be an additional
> "RCPT TO:" to root@???:
>
> How can I avoid that each message is also send to the original
> recipient (in this case root@???)?


Remove "unseen".

--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey