FH_DATE_PAST_20XX false positives
Patrick Vande Walle
patrick at vande-walle.eu
Mon Jan 4 19:49:52 GMT 2010
Alternatively, you may want to try the method described here:
http://www.heise.de/newsticker/foren/S-Das-Peinliche-daran-ist/forum-171865/msg-17874835/read/
The post is in German, but the code is pretty self explanatory
Patrick
Kevin Miller wrote, On 04/01/10 20:15:
> Anthony Cartmell wrote:
>
>> Dear all,
>>
>> Happy New Year!
>>
>> Just a quick note about a bug noted on the SpamAssassin list: you
>> might want to set FH_DATE_PAST_20XX to have a score of zero, or edit
>> the rule, as it currently applies to all mail sent in 2010. The rule
>> adds a score of
>> 3.19 to messages by default, so could easily cause false positives
>> for slightly-spammy messages sent this year.
>>
> As noted, sa_update will cure those ills, but a manual fix is easy too. Just cd to
> /var/lib/spamassassin/3.002005/updates_spamassassin_org/ then in 72_active.cf change:
> 72_active.cf:header FH_DATE_PAST_20XX Date =~ /20[1-9][0-9]/ [if-unset: 2006]
> To:
> 72_active.cf:header FH_DATE_PAST_20XX Date =~ /20[2-9][0-9]/ [if-unset: 2006]
>
> Watch the line wrap. In short, change the [1-9] to [2-9]...
>
>
> ...Kevin
>
More information about the MailScanner
mailing list