Re: [Exim] Routers and prefix?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Jan Johansson
CC: exim-users
Sujet: Re: [Exim] Routers and prefix?
On Tue, 30 Sep 2003, Jan Johansson wrote:

> (Exim 4.20)
> I need/want to design a pair of routers that delivers mail to different
> smtp-servers depending on local part prefix.
>
> Is there any way to have a router _not_ strip the local part, since I
> would like to just do a route, and then use the standard SMTP-transport
> to deliver the mail?
>
> Basically I want all mail with the prefix ksd- to be deleivered to one
> smtp-server, and everything else to another server.


Exim 4.21 (bad luck!) has a new option called rcpt_include_affixes as a
generic transport option; it puts the affixes back at transport time.

Otherwise, you have to do it without making use of local_part_prefix. It
can usually be done, but more clumsily.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book