Re: [exim-dev] [Bug 1438] New: acl varaibles don't seem to l…

Top Page
Delete this message
Reply to this message
Author: Heiko Schlittermann
Date:  
To: exim-dev
Subject: Re: [exim-dev] [Bug 1438] New: acl varaibles don't seem to live in transport
Hi Marc,

Marc Perkel <support@???> (Do 30 Jan 2014 08:01:32 CET):
>
> In an ACL I set:
>
> warm set acl_c_smtp_out = 1.2.3.4
>
> In the transport I use:
>
> interface = $acl_c_smtp_out
>
> But the transport doesn't use the passed interface. it is as if the ACL
> variable is blank.


I didn't check the spec or the code. But the acl_c_* variables
are bound (and limited) to the incoming SMTP *connection*. I'm not
sure if it's useful to have these values persistent until the message
gets transported.

You can try to pass the data in acl_m_* variables, I think, these vars
should be sticky.

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: 7CBF764A -
 gnupg fingerprint: 9288 F17D BBF9 9625 5ABC  285C 26A9 687E 7CBF 764A -
(gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B)-