Re: [exim] acl_mX variables

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Kjetil Torgrim Homme
Fecha:  
A: Tom Bombadil
Cc: exim-users
Asunto: Re: [exim] acl_mX variables
On Wed, 2007-05-16 at 16:52 -0700, Tom Bombadil wrote:
> can I safely use the acl_mX variables on a per recipient basis, after
> the after the message is received?
>
> Lets say I make a SQL query in a 'verify_only router', and load the
> result (which is unique per recipient) into $address_data.
>
> Then, in the rcpt acl I use:
> accept verify=recipient
> set acl_m0 = $address_data


$address_data is per recipient, $acl_mX is per message. just use
$address_data directly :-)

(I think it would be useful to have $acl_rX for clarity, since it's
tricky to adjust $address_data in an ACL.)
--
Kjetil T.