Re: [exim] Available recipient variable in DATA ACL

Top Page
Delete this message
Reply to this message
Author: d.hill
Date:  
To: exim-users
Subject: Re: [exim] Available recipient variable in DATA ACL
Quoting James Price <james@???>:

> Ian Eiloart wrote:
>>
>>
>> --On 26 February 2010 11:40:24 -0600 James Price
>> <james@???> wrote:
>>
>>> I'm pretty sure I recall and in fact I'm almost positive that $domain
>>> and $local_part are unavailable in acl_smtp_data, is there any other
>>> alternative?
>>
>> You can save the values to $acl_m_last_domain and $acl_m_last_local_part
>>
>> If the message has only one recipient, then that'll do the job. Most
>> do, now that most mailing lists like to VERP. At least that's true for
>> our mail servers.
>>
>> However, if you have more than one recipient, then these values are
>> practically meaningless after you've got the data.
>>
>>
>>
>>
> This is for logging purposes into a DB. In specific places I'm logging
> a row to an activity_log table in my exim DB. During the DATA phase,
> agreed, use of recipient is generally meaningless at that point other
> than logging, which is what I'm attempting.
>
> Thanks for the quick response...


Use $recipients. it contains a list of envelope recipients for a message.

If I'm reading its documenting within:


http://www.exim.org/exim-html-current/doc/html/spec_html/index.html#toc0146

correctly, it can be used within acl_smtp_data.