d . hill
Fri, 26 Feb 2010 10:23:03 -0800
Quoting James Price <ja...@digitalciti.com>: > Ian Eiloart wrote: >> >> >> --On 26 February 2010 11:40:24 -0600 James Price >> <ja...@digitalciti.com> 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.
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/