Re: [exim] acl_mX variables

Etusivu
Poista viesti
Vastaa
Lähettäjä: Kjetil Torgrim Homme
Päiväys:  
Vastaanottaja: Tom Bombadil
Kopio: exim-users
Aihe: 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.