<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ArtistBlog.ME development &#187; spamassassin</title>
	<atom:link href="http://development.artistblog.me/tag/spamassassin/feed/" rel="self" type="application/rss+xml" />
	<link>http://development.artistblog.me</link>
	<description>ArtistPlug.ME network development</description>
	<lastBuildDate>Thu, 07 Apr 2011 12:02:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Spamassassin 2010 bugfix</title>
		<link>http://development.artistblog.me/2010/01/spamassassin-2010-bugfix/</link>
		<comments>http://development.artistblog.me/2010/01/spamassassin-2010-bugfix/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 11:06:40 +0000</pubDate>
		<dc:creator>Freaking Wildchild</dc:creator>
				<category><![CDATA[Coding Mines]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[rewrite rules]]></category>
		<category><![CDATA[spamassassin]]></category>

		<guid isPermaLink="false">http://development.artistblog.me/?p=169</guid>
		<description><![CDATA[I came home to find out Spamassassin has dumped a lot of mail towards SPAM, because of the 2010 bug. This is a fine-grain fix to thwart mails coming from the future without loosing your mails from 2010. The solution extends to users of Unix systems (with and without root privileges), Directadmin and admispconfig. Enjoy your spam-free mail coming from the future!


No related posts.]]></description>
			<content:encoded><![CDATA[<p>I came home after newyear and was flabbergasted as soon as I saw, I had no mail! With exception of my whitelist, which is bitter small. After reading <a href="http://it.slashdot.org/story/10/01/02/0027207/SpamAssassin-2010-Bug">Slashdot</a>, I&#8217;ve noticed Spamassassin has a 2010 bug, dropping legit mails to spam or nowhere; depending on the account settings.</p>
<p>There are two ways to fix this by hand; to keep the ability to thwart mails coming from the future (after <strong>2014 </strong>in this case):</p>
<p><em><strong><span style="text-decoration: underline">Step 1: edit the ruleset file.</span></strong></em></p>
<ul>
<li>With root privileges: Edit the file <em>/usr/share/spamassassin/72_active.cf</em></li>
<li>Without root privileges: Add to the file <em>~/.spamassassin/user_prefs</em></li>
</ul>
<p><span style="text-decoration: underline"><em><strong>Step 2: find/add or change FH_DATE_PAST_20XX:</strong></em></span></p>
<p><code><br />
##{ FH_DATE_PAST_20XX<br />
header FH_DATE_PAST_20XX Date =~ /20(1[4-9]|[2-9][0-9])/ [if-unset: 2006]<br />
describe FH_DATE_PAST_20XX The date is grossly in the future.<br />
##} FH_DATE_PAST_20XX<br />
</code></p>
<p>I wish variables could be used in regexps like these, like $year + 2 would be a nice start&#8230;.</p>
<p><em><span style="text-decoration: underline"><strong>Alternative Step: Automatic update of rulesets </strong></span></em></p>
<p>The Spamassassin rules can be updated automatically by executing the following command:</p>
<ul>
<li><strong>any unix system:</strong> <em>sa-update &amp;&amp; /etc/init.d/spamassassin reload</em></li>
<li><strong>Directadmin:</strong> <em>/usr/local/directadmin/scripts/packages/Mail-SpamAssassin-3.2.5/sa-update <em> &amp;&amp; /etc/init.d/spamassassin reload</em></em></li>
<li><strong>admispconfig:</strong> <em><em>/usr/local/admispconfig</em>/ispconfig/tools/spamassassin/usr/bin/</em><em><em>sa-update </em><em> &amp;&amp; /etc/init.d/spamassassin reload</em></em></li>
</ul>
<p>Enjoy your mail without spam coming from the future!</p>
<p>02/jan/2010: Thanks go to <a href="https://secure.grepular.com/">mike</a> for the even more-fine-grain regexp: <em>20(1[4-9]|[2-9][0-9])/</em></p>
<img src="http://development.artistblog.me/wp-content/plugins/pixelstats/trackingpixel.php?post_id=169&amp;ts=1328365971" style="display:none;" alt="pixelstats trackingpixel"/>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://development.artistblog.me/2010/01/spamassassin-2010-bugfix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

