>> Hello,
>> 
>> I want to add a tag before the envelope sender address (MAIL FROM). But none 
>> of the following rules works as expected :
>> 
>> \N^<([email protected])>$    <TAG$1>                                 S
>> \N^<([email protected])>$    <TAG$1>                                 F
>> \N^<([email protected])>$    <TAG$1>                                 SF
>> 
>> Here are the log lines for each case :
>> 
>> Dec 16 08:52:14 gw-mail exim[10090]: 1LCUix-0002ck-MW <= 
>> [email protected] H=localhost (toto) [127.0.0.1] P=esmtp S=256
>> Dec 16 08:52:16 gw-mail exim[10091]: 1LCUix-0002ck-MW ** [email protected] 
>> R=dnslookup T=remote_smtp: xxxxxxxxxxxx
>> 
>> Dec 16 08:53:07 gw-mail exim[10123]: 1LCUjo-0002dH-Ux <= [email protected] 
>> H=localhost (toto) [127.0.0.1] P=esmtp S=252
>> Dec 16 08:53:07 gw-mail exim[10124]: 1LCUjo-0002dH-Ux ** [email protected] 
>> R=dnslookup T=remote_smtp: xxxxxxxxxxxx
>> 
>> Dec 16 08:54:03 gw-mail exim[10158]: 1LCUkj-0002dq-AF <= 
>> [email protected] H=localhost (toto) [127.0.0.1] P=esmtp S=256
>> Dec 16 08:54:03 gw-mail exim[10159]: 1LCUkj-0002dq-AF ** [email protected] 
>> R=dnslookup T=remote_smtp: xxxxxxxxxxxx
>> 
>> With either S or SF tags, both the sender and the recipient addresses are 
>> rewritten, while the F tag triggers no action.
>> 
>> 
>> Any idea ?

>I think the "xxxxxxxxxxx" error message might have been useful here, but
>as a wild guess - are the [email protected] addresses valid? Do you
>have a router that will route them?

Real addresses have been replaced. Of course [email protected] is not a valid 
address but the RCPT TO address shouldn't be rewritten, only the MAIL FROM one. 
We should read :

Dec 16 08:54:03 gw-mail exim[10158]: 1LCUkj-0002dq-AF <= [email protected] 
H=localhost (toto) [127.0.0.1] P=esmtp S=256
Dec 16 08:54:03 gw-mail exim[10159]: 1LCUkj-0002dq-AF => [email protected] 
R=dnslookup T=remote_smtp: xxxxxxxxxxxx


      

-- 
## 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/

Reply via email to