whitelist by subject

Glenn Steen glenn.steen at gmail.com
Wed Sep 7 07:57:44 IST 2011


On 6 September 2011 23:57, Alex Broens <ms-list at alexb.ch> wrote:
> On 2011-09-06 23:36, Glenn Steen wrote:
>>
>> Depends on your defenition of easy;-) .
>> Try constructing an SA rule, perhaps give it a hefty negative score, then
>> perhaps add a Sa rule hit action . ... Might give the effect you want.
>> Whitelist by subject... Could be problematic from a security standpoint,
>> but
>> I'm sure you've considered that already.
>> Cheers
>
> FTR:
>
> An often forgotten SA feature:
>
>
>  header SUBJECT_IN_WHITELIST eval:check_subject_in_whitelist()
>  header SUBJECT_IN_BLACKLIST eval:check_subject_in_blacklist()
>
>  score SUBJECT_IN_WHITELIST -100
>  score SUBJECT_IN_BLACKLIST 100
>
>  whitelist_subject [Bug *]
>  blacklist_subject Make Money Fast
>
> http://spamassassin.apache.org/full/3.3.x/doc/Mail_SpamAssassin_Plugin_WhiteListSubject.txt
>
Thanks Alex. And if you'd like to trigger specific MailScanner
behaviour, then just use those two rule names in the MS config (if you
want to go from a pointbased thing, to an absolute course of action).

Cheers
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list