FH_DATE_PAST_20XX spamassassin false positives

Spamassassin is a good way to fight spam but a quite curious bug went out in the beginning of the new year. This bug may produce a great number of valid mail messages tagged as spam.
The reason is all mail messages will match the FH_DATE_PAST_20XX rule since the 1st january 2010.
When the current release (3.2.5) was released, a message date in the year 2010 was reasonable seen as a bad mail, but now we are …in the future.
So, this rule

##{ FH_DATE_PAST_20XX
header FH_DATE_PAST_20XX Date =~ /20[1-9][0-9]/ [if-unset: 2006]
describe FH_DATE_PAST_20XX The date is grossly in the future.
##} FH_DATE_PAST_20XX

have to be disabled, waiting for the new spamassassin release.
The way suggested by spamassassin staff is to add the following line in the local.cf file:

score FH_DATE_PAST_20XX 0.0

Tags: ,

Leave a Reply