Friday, February 19, 2010

A year 2010 bugs of SpamAssassin

If you saw a email X-Spam-Status: “FH_DATE_PAST_20XX=3.188” scores on all mails dated 2010 or later.”

You hint the 2010 bugs of SpamAssassin.

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6269

http://www.emaildiscussions.com/showthread.php?t=58462

http://groups.google.com/group/mailing.unix.amavis-user/browse_thread/thread/e4d1d45d2a12d769

Either:

1) Add to /etc/mail/spamassassin.conf

 score FH_DATE_PAST_20XX 0.0<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />


or







2) Fix the rule in /usr/share/spamassassin/72_active.cf by replacing the FH_DATE_PAST_20XX line with:







header   FH_DATE_PAST_20XX    Date =~ /20[2-9][0-9]/ [if-unset: 2006]<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />


or







3) Run sa-update and that will fix it as well.



sudo sa-update --nogpg --updatedir /etc/mail/spamassassin –debug






Reference:



http://serverfault.com/questions/98723/workaround-spamassassin-y2k10-bug-mac-os-x-server

Print Friendly and PDF
Share/Bookmark

No comments:

Post a Comment