Re: [exim] Rewriting recipients only during SMTP (not sender…

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Thomas Dorsch
CC: exim-users
Subject: Re: [exim] Rewriting recipients only during SMTP (not sender addresses)
On Mon, 3 Jan 2005, Thomas Dorsch wrote:

> The use of ldap is to verify recipients and local domains. Everything works
> perfect for me, except that sender addresses are also rewritten because of the
> "S" flag in my rewrite rules.


You probably don't want to use SMTP-time rewriting. I would put the
verification and redirection logic into the routers, rather than the ACL
and the rewrite rules.

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}}