[exim-dev] [Bug 1438] acl varaibles don't seem to live in tr…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Graeme Fowler
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 1438] acl varaibles don't seem to live in transport
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1438

Graeme Fowler <graeme@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |graeme@???





--- Comment #1 from Graeme Fowler <graeme@???> 2014-01-30 13:26:31 ---
http://www.exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html#SECTexpvar

Both the $acl_c... and $acl_m... sections state:

"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."

I just did a test, adding both a 'c' and 'm' acl variable to a header in a
router before local mailbox delivery:

headers_add = X-ACL-Test: $acl_c_DELAY - $acl_m_addresses

And here's a test message header:

X-ACL-Test: 1 - randomsender@???

(Yes, that last one is obfuscated, sorry - but it did work).

I would surmise that something is unsetting the acl_c* variable(s) that you're
using before the ACLs are completed, which is why you're not getting a value
passed to the router/transport pair.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email