Re: [Exim] Routing, or is it?

Página Inicial
Delete this message
Reply to this message
Autor: Jan Johansson
Data:  
Para: Philip Hazel
CC: exim-users
Assunto: Re: [Exim] Routing, or is it?
On Wed, Feb 06, 2002 at 11:04:29AM +0000, Philip Hazel wrote:
> On Wed, 6 Feb 2002, Jan Johansson wrote:
>
> > I need to route the mails to another SMTP server, and on _some_ i need to
> > do recipient rewrite.
>
> This sort of thing is much easier to do in Exim 4, where the distinction
> between directors and routers has been abolished. Routing to other hosts
> is best done by routers, but in Exim 3, you need to use a director for
> rewriting. Hence it gets complicated. In Exim 4 you could have something
> like
>
> rewrite:
> driver = redirect
> domains = mupp.net
> local_parts = whatever
> data = the new address
> redirect_router = route_to_x
>
> route_to_x:
> driver = manualroute
> transport = smtp
> route_data = mupp.net another.server
>
> ... and that's it (assuming it's all happening at mupp.net. Might need
> some changes if not.) One of the reasons for Exim 4 was to make it
> easier to handle this kind of requirement.


Hmmm, but how can i tell the manualrouter to only handle the message if it was passed down from rewrite: ? else it breaks my
pretty little scheme of how i want to do things :-/ (I dont see a "condition" for manualroute?

This ties in to my lengthy essay on "To many routers(?) (Exim 4.00)" posted this tuesday.