Autor: Matthias-Christian Ott Data: Para: exim-users Asunto: Re: [exim] Problem with RCPT TO: Rewriting
On Mon, Apr 26, 2010 at 07:32:01PM +0100, Dave Evans wrote: > 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?
No, I don't want that the message is delivered to the original
recipient.
> > 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".
I have to add "transport = remote_smtp" to shadow_redirect than, am I
right?