{"id":227,"date":"2010-01-02T15:25:52","date_gmt":"2010-01-02T12:25:52","guid":{"rendered":"http:\/\/www.held.org.il\/blog\/?p=227"},"modified":"2010-01-02T15:25:52","modified_gmt":"2010-01-02T12:25:52","slug":"y2k10-bug-spamassassin","status":"publish","type":"post","link":"http:\/\/www.held.org.il\/blog\/2010\/01\/y2k10-bug-spamassassin\/","title":{"rendered":"y2k10 bug: spamassassin might tag mail as spam"},"content":{"rendered":"<p><span style=\"color: #808080;\"><strong>[ This is bug affects only to people using the <a href=\"http:\/\/spamassassin.apache.org\/\">spamassassin<\/a> spam filtering software ]<\/strong><\/span><\/p>\n<p>Fabian Arrotin <a href=\"http:\/\/www.arrfab.net\/blog\/?p=174\">reports<\/a> about this <a href=\"https:\/\/issues.apache.org\/SpamAssassin\/show_bug.cgi?id=6269\">spamassassin bug<\/a>, which tags mails dated 2010 and later - as potential spam (increases its spam-score). This is not silly - many spammers use fictional (far past\/future) dates, wishing their spam would stay in the top\/bottom of the long list of mails.<\/p>\n<p>This bug alone didn't cause false positives in my spam folder (only increased the score from 0.0 to 0.6), but in some configurations or situations it could happen.<\/p>\n<p><strong>The Fix<\/strong><\/p>\n<p><strong><!--more--><\/strong>The bug was discovered about two hours after the first appearance of 2010 (UTC), and got fixed* a few hours later.<\/p>\n<p>I was surprised to discover the <strong>sa-update<\/strong> tool which is an integral part of the spamassassin package. It fetches the updated rule sets to \/var\/lib\/spamassassin dir, which spamassassin is aware of by default. This directory's files override the shipped, old rules in \/usr\/share\/spamassassin.<\/p>\n<p>After this incident, I linked this file <em>\/usr\/share\/spamassassin\/sa-update.cron<\/em> to the <em>\/etc\/cron.daily<\/em> dir.<\/p>\n<p>* The fix, by the way, is quite a patch - it makes sure the mail's date is not after 2020.. I smell a repeat of events \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[ This is bug affects only to people using the spamassassin spam filtering software ] Fabian Arrotin reports about this spamassassin bug, which tags mails dated 2010 and later &#8211; as potential spam (increases its spam-score). This is not silly &#8211; many spammers use fictional (far past\/future) dates, wishing their spam would stay in the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[198,109,110],"_links":{"self":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts\/227"}],"collection":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/comments?post=227"}],"version-history":[{"count":0,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts\/227\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/media?parent=227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/categories?post=227"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/tags?post=227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}