Re: [exim] acl_mX variables

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Tom Bombadil
Fecha:  
A: exim-users
Asunto: 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