Re: [exim] Possible bug in Exim

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Phil Pennock
Ημερομηνία:  
Προς: Marc Perkel
Υ/ο: exim-users
Αντικείμενο: Re: [exim] Possible bug in Exim
On 2012-10-18 at 06:55 -0700, Marc Perkel wrote:
> I'll do bugzilla if I'm not crazy but thought I'd post it here first to
> see if I'm nuts.
>
>
> In the transports this works:
>
> helo_data = SERVER_NAME.junkemailfilter.com
>
> However this does not work:
>
> helo_data = $acl_c_helo_data
>
> The helo becomes an empty string. And I'm sure the variable is set
> properly. It's as if acl variables don't work in the transport?


That's an $acl_c_<name>, "c" for "connection", persists for the lifetime
of the connection. Transports are run afterwards, so you need an
$acl_m_<name> variable, to have the data persisted for the life of the
message.

See "$acl_c..." and "$acl_m..." in "11.9 Expansion variables" of the
documentation.

The server is behaving as documented, as expected, and consistently,
with a naming scheme that provides a decent affordance to how the
variable is handled. I do not believe that this is a bug in Exim.

-Phil