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

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jakob Hirsch
Päiväys:  
Vastaanottaja: Brian Blood
Kopio: exim-users
Aihe: Re: [exim] def:acl var with strict_acl_vars=true
Brian Blood 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.