On Thursday 19 October 2006 20:10, Chris Purves wrote:
> Is there a way to have exim call spamassassin with the user to whom
> the e-mail is sent?
Not unless your defer after every recipient in the RCPT ACL so that exim sees
a new copy of the message (and thus a new instance of the DATA ACL) for each
recipient. I really doubt you want that.
> What is the best way to do this?
Run it through SA in the data ACL regardless. Add a header to the message if
you want and/or set an ACL variable with the result. Then decide whether to
accept or reject or filter it per-recipient in the router or whatever exim
hands the mail off to (maildrop, for instance). You can use the ACL variable
in the routers.
Cheers,
--
SeattleServer.com Mailing Lists - Casey Allen Shobe
lists@??? -
http://seattleserver.com