Re: [exim] acl_mX variables

Top Page
Delete this message
Reply to this message
Author: Tom Bombadil
Date:  
To: exim-users
Subject: Re: [exim] acl_mX variables

> What you probably want is a associative array (a.k.a. hash), or
> expandable acl variable names (like acl_m_rcptdata_$local_part@$domain),
> but Exim doesn't have that. You are free to story multiple values in a
> acl_mX variable by using a key value (in this case, the recipient
> address) and using extract to retrieve it later on, e.g.:
>
> accept
> verify=recipient
> set acl_m_rcpts_data = $acl_m0 $local_part@$domain=$address_data
> ...
>
> ${extract {some_user@domain} {$acl_m_rcpts_data}}
>
> This should work, unless you have localparts with = in them.



Jacob, this is a great idea! Thanks!

Is there a limit on the size of $acl_m(x)?

A $acl_r(x) would be great though! :D

Cheers