[exim] Exempting users from spamassassin checks

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Daniel Parry
Dátum:  
Címzett: exim-users
Tárgy: [exim] Exempting users from spamassassin checks
Hello all,

I would like to exempt a user from spamassassin check, and my best
attempt is:

(within acl_smtp_data - acl_check_content)

deny message = Rejected.
spam = nobody:true
condition = ${if eqi{${substr{0}{5}{$recipients}}}{NAME@}{0}{1}}
condition = ${if >{$spam_score_int}{59}{1}{0}}

However, this won't cater for cases where there are multiple
recipients, e.g. To: BOB@domain, NAME@domain, ... Is there a way
of singling out and accepting delivery to NAME, while rejecting to
BOB, et al?

Any help much appreciated,

Many thanks in advance,

Daniel

--
--|-------| Daniel Parry: CARET daniel@??? |-------|--
"It's taken me all my life to learn what not to play."
[Dizzy Gillespie]
------------------------------------------------------------------