Tony Finch wrote:
On Tue, 27 Feb 2007, #Ronan McGlue wrote:
I am looking to move to peruser scanning, so I would need to change only one
line of the above to

spam            = $local_part:true
which will use the local part of the email address as the username.

This won't work because there may be multiple recipients for a single
message. Therefore Exim doesn't define the per-recipient variables (like
$local_part) in situations when you are dealing with the whole message,
including the DATA ACL.

The first thing you must do is decide what policy you want for messages
with multiple recipients, then hack around to implement it. Unfortunately
there's no easy solution, even for common policies.

Tony.
Tony ,
 slightly OT for SA-list, but I've jsut read
http://www.exim.org/exim-html-4.66/doc/html/spec_html/ch41.html#SECTscanspamass

what information is available during the DATA_ACL eg to perform lookups on to get the username to use for SA?

R

--
Regards

Ronan McGlue

===================
Analyst / Programmer
Queens University Belfast

Reply via email to