Spamassassin FH_DATE_PAST_20XX test buggy in 2010

It seems there is an issue with the Spamassassin FH_DATE_PAST_20XX test. This test checks whether the email has a date in the future and, if this is the case, raises the message’s score. Apparently, this test is falsely triggered by all emails that have been sent in 2010, producing several false positives. Since, I do not have much time to investigate this issue and to follow the news, I decided to inactivate it until I am certain it has been resolved.

[Update: It has been resolved. Update you SA rules]

To inactivate the FH_DATE_PAST_20XX test system-wide add the following line to the Spamassassin configuration file, usually located at /etc/mail/spamassassin/local.cf:

score FH_DATE_PAST_20XX 0

If you use the spamassassin server (spamd), don’t forget to restart it for the changes to take effect.

As I have mentioned in the update above, the issue has been resolved (Kudos). The Spamassassin developers have released updated rules for the FH_DATE_PAST_20XX test, so make sure you run sa-update:

/usr/bin/sa-update

If you compile your rules, make sure you also run /usr/bin/sa-compile and of course restart spamd.

Spamassassin FH_DATE_PAST_20XX test buggy in 2010 by George Notaras is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Copyright © 2010 - Some Rights Reserved

George Notaras avatar

About George Notaras

George Notaras is the editor of the G-Loaded Journal, a technical blog about Free and Open-Source Software. George, among other things, is an enthusiast self-taught GNU/Linux system administrator. He has created this web site to share the IT knowledge and experience he has gained over the years with other people. George primarily uses CentOS and Fedora. He has also developed some open-source software projects in his spare time.