Re: [exim] Adding a per-recipient message header

Top Page
Delete this message
Reply to this message
Author: Marc Sherman
Date:  
To: exim-users
Subject: Re: [exim] Adding a per-recipient message header
SeattleServer.com wrote:
>
> I haven't really messed with routers much...but I don't believe ACL variables
> carry over to them?


http://exim.org/exim-html-4.62/doc/html/spec_html/ch11.html#SECTexpvar

$acl_c0 – $acl_c19

     Values can be placed in these variables by the set modifier in an 
ACL. The values persist throughout the lifetime of an SMTP connection. 
They can be used to pass information between ACLs and different 
invocations of the same ACL. When a message is received, the values of 
these variables are saved with the message, and can be accessed by 
filters, routers, and transports during subsequent delivery.


$acl_m0 – $acl_m19

     Values can be placed in these variables by the set modifier in an 
ACL. They retain their values while a message is being received, but are 
reset afterwards. They are also reset by MAIL, RSET, EHLO, HELO, and 
after starting a TLS session. When a message is received, the values of 
these variables are saved with the message, and can be accessed by 
filters, routers, and transports during subsequent delivery.


Using add_header in a router with the content of the acl_m* variable
will split the message into separate instances per unique header value.

- Marc