Re: [exim] headers_add

Pàgina inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
A: jesk
CC: exim-users
Assumpte: Re: [exim] headers_add
On Thu, 23 Dec 2004, jesk wrote:
>
> The problem is that when inserting it into one of my routers that the
> X-Envelope-To line will only be created when a router matchs,
> so i have to insert it into every router.


I can't think of a good way around this, because you presumably want the
header to be per-recipient but if you add the header in the ACL it's per
message, so you'll get a header for each recipient which is presumably not
what you want.

> when inserting it into every router the X-Envelope-To value wont be the
> value that i want, because the recipient will sometimes be rewritten
> inside of my routers and then its not the original rcpt-to which i want
> to have.


Look up $original_local_part and $orignial_domain

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