Re: [exim] def:acl var with strict_acl_vars=true

Top Page
Delete this message
Reply to this message
Author: Brian Blood
Date:  
To: exim-users
Subject: Re: [exim] def:acl var with strict_acl_vars=true

On Oct 27, 2008, at 1:41 PM, Jakob Hirsch wrote:

>>
>> My particular use is the following:
>>
>> We have the ability in our solution to allow per message max message
>> size and that value is set in a acl_m variable.
>>
>> This value is made use of in our local user transport like so:
>>
>>    message_size_limit = ${if def:acl_m_pref_msg_maxsize
>> {$acl_m_pref_msg_maxsize}{DEFAULT_MESSAGE_SIZE_LIMIT} }

>
> Ok, but AFAICS, it would be sufficient for you to pre-set
> acl_m_pref_msg_maxsize to the emtpy string early in your ACLs, e.g. in
> acl_smtp_connect and acl_not_smtp_start.




acl_ variables aren't defined in the message generated by the
autoreply transport driver