[prev in list] [next in list] [prev in thread] [next in thread] 

List:       exim-users
Subject:    Re: [exim] Problem with RCPT TO: Rewriting
From:       Matthias-Christian Ott <ott () mirix ! org>
Date:       2010-04-26 19:15:35
Message-ID: 20100426191535.GA1971 () qp
[Download RAW message or body]

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@mirix.org, example@example.com
> >   unseen
> > 
> > manual_route:
> >   driver = manualroute
> >   domains = *
> >   route_list = * server1.example.com
> >   transport = remote_smtp
> > 
> > begin transports
> > 
> > remote_smtp:
> >   driver = smtp
> >   return_path = example@example.com
> 
> So: all recipients are rewritten to ott@mirix.org + example@example.com + 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@example.com and "RCPT TO:" to ott@mirix.org and
> > example@example.com.
> 
> That's not what the above config does.
> 
> > If I now send a message to root@server2.example.com (the server that
> > runs with the above configuration), it there seems to be an additional
> > "RCPT TO:" to root@server2.example.com:
> > 
> > How can I avoid that each message is also send to the original
> > recipient (in this case root@server2.example.com)?
> 
> Remove "unseen".

I have to add "transport = remote_smtp" to shadow_redirect than, am I
right?

Regards,
Matthias-Christian

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic