Re: [exim] Routing by address

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tony Finch
Dátum:  
Címzett: Gary Rule
CC: EXIM
Tárgy: Re: [exim] Routing by address
On Thu, 8 Sep 2005, Gary Rule wrote:

> I am trying to have our mail server route mail based on each individual
> address.
> What I want to do is have exim expand any aliases to their
> "base_email_address" and then delivery the email to the correct host.


Sounds like you want a combination of the domain_aliases and
special_routes routers from
http://www.cus.cam.ac.uk/~fanf2/hermes/doc/talks/2005-02-eximconf/

Our special_routes system only works on the domain of the recipient
address; you'll need to key the lookup using
${quote_local_part:$local_part}@${domain} if you want to use the whole
email address.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}