<?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>andr3w.net &#187; intrepid</title>
	<atom:link href="http://andr3w.net/tag/intrepid/feed/" rel="self" type="application/rss+xml" />
	<link>http://andr3w.net</link>
	<description>amateur web development...</description>
	<lastBuildDate>Fri, 19 Mar 2010 17:34:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Configuring Postfix, Courier, and Courier-Maildrop for Virtual Users</title>
		<link>http://andr3w.net/2009/03/configuring-postfix-courier-and-courier-maildrop-for-virtual-users/</link>
		<comments>http://andr3w.net/2009/03/configuring-postfix-courier-and-courier-maildrop-for-virtual-users/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 19:08:46 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[email]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[courier]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[maildrop]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=76</guid>
		<description><![CDATA[Here are some highlights for configuring Postfix to use Courier-Maildrop for local delivery.
This allows some advantages over just having postfix deliver, because you can do server-side filtering of spam and mailing list messages to de-clutter your inbox.
All these notes are based on configuring the setup on Ubuntu 8.10 (Intrepid Ibex) with Debian Lenny&#8217;s courier-maildrop
The following [...]]]></description>
			<content:encoded><![CDATA[<p>Here are some highlights for configuring Postfix to use Courier-Maildrop for local delivery.</p>
<p>This allows some advantages over just having postfix deliver, because you can do server-side filtering of spam and mailing list messages to de-clutter your inbox.</p>
<p>All these notes are based on configuring the setup on Ubuntu 8.10 (Intrepid Ibex) with <a href="http://andr3w.net/?p=71">Debian Lenny&#8217;s courier-maildrop</a></p>
<p>The following are snippets from my configuration files, highlighting the changes that I had to make, from an already existing mail server. If these look unfamiliar, or you need more assistance setting up the basic framework of a Postfix + Courier-IMAP mail server, start <a href="http://articles.slicehost.com/email">here</a>.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#/etc/courier/maildroprc<br />
EXTENSION=&quot;$1&quot;<br />
RECIPIENT=tolower(&quot;$2&quot;)<br />
USER=&quot;$3&quot;<br />
HOST=&quot;$4&quot;<br />
SENDER=&quot;$5&quot;<br />
DEFAULT=&quot;/home/vmail/$HOST/$USER/.&quot;</div></td></tr></tbody></table></div>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#/etc/postfix/main.cf<br />
virtual_transport = maildrop<br />
maildrop_destination_recipient_limit = 1</div></td></tr></tbody></table></div>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#/etc/postfix/master.cf<br />
maildrop unix &nbsp; - &nbsp; &nbsp; &nbsp; n &nbsp; &nbsp; &nbsp; n &nbsp; &nbsp; &nbsp; - &nbsp; &nbsp; &nbsp; - &nbsp; &nbsp; &nbsp; pipe<br />
flags=ODRhu user=vmail argv=/usr/bin/maildrop -w 90 -d ${user}@${nexthop} ${extension} ${recipient} ${user} ${nexthop}</div></td></tr></tbody></table></div>
<p>So if you have a working mail server: make these changes, sudo /etc/init.d/postfix restart, and then get to work writing your .mailfilters!</p>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2009/03/configuring-postfix-courier-and-courier-maildrop-for-virtual-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intrepid&#8217;s courier-maildrop and authlib</title>
		<link>http://andr3w.net/2009/03/intrepids-courier-maildrop-and-authlib/</link>
		<comments>http://andr3w.net/2009/03/intrepids-courier-maildrop-and-authlib/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 18:29:27 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[email]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[courier]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[maildrop]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=71</guid>
		<description><![CDATA[Ubuntu 8.10&#8217;s courier-maildrop is not compiled against courier-authlib and so cannot read from many of the supported authentication schemes that authlib can support.
Fortunately, Debian Lenny&#8217;s can. So if you&#8217;re having trouble you can try and install the package from that distribution, YMMV.
To save you the effort of going out and locating it, I&#8217;ll attach a [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 8.10&#8217;s courier-maildrop is not compiled against courier-authlib and so cannot read from many of the supported authentication schemes that authlib can support.</p>
<p>Fortunately, Debian Lenny&#8217;s can. So if you&#8217;re having trouble you can try and install the package from that distribution, YMMV.</p>
<p>To save you the effort of going out and locating it, I&#8217;ll attach a version of it here. Use it at your own risk, but it&#8217;s working for me.</p>
<p><a href="http://andr3w.net/wp-content/uploads/2009/03/courier-maildrop_0600-2_amd64.deb">courier-maildrop_0600-2_amd64</a></p>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2009/03/intrepids-courier-maildrop-and-authlib/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Configuring Spamassassin as a Daemon on Ubuntu Intrepid</title>
		<link>http://andr3w.net/2009/03/configuring-spamassassin-as-a-daemon-on-ubuntu-intrepid/</link>
		<comments>http://andr3w.net/2009/03/configuring-spamassassin-as-a-daemon-on-ubuntu-intrepid/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 22:10:37 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[email]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[spamassassin]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=59</guid>
		<description><![CDATA[Here is the process I took to install Spamassassin as a daemon working with Postfix to process incoming mail.
I&#8217;ll also be trying to reduce the memory footprint while still getting acceptable performance. Mind you, this is being implemented on a low volume server, so these settings may not be applicable to a production server with [...]]]></description>
			<content:encoded><![CDATA[<p>Here is the process I took to install Spamassassin as a daemon working with Postfix to process incoming mail.</p>
<p>I&#8217;ll also be trying to reduce the memory footprint while still getting acceptable performance. Mind you, this is being implemented on a low volume server, so these settings may not be applicable to a production server with lots of users.</p>
<p>First, let&#8217;s do some prep work</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ sudo aptitude install spamassassin spamc<br />
$ sudo groupadd -u 5001 spamd<br />
$ sudo useradd -u 5001 -g spamd -s /sbin/nologin -d /var/lib/spamassassin spamd<br />
$ sudo mkdir /var/lib/spamassassin<br />
$ sudo chown spamd:spamd /var/lib/spamassassin</div></td></tr></tbody></table></div>
<p>Now edit /etc/default/spamassassin and change the lines below</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># /etc/default/spamassassin<br />
ENABLED=1<br />
SAHOME=&quot;/var/lib/spamassassin&quot;<br />
OPTIONS=&quot;--create-prefs --max-children 2 --username spamd -H ${SAHOME}&quot;</div></td></tr></tbody></table></div>
<p>Edit /etc/spamassassin/local.cf</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ENABLED=1<br />
rewrite_header Subject **SPAM _SCORE_**<br />
required_score 5.0<br />
use_bayes 1<br />
bayes_auto_learn 1<br />
use_dcc 0<br />
use_pyzor 0<br />
use_razor2 0</div></td></tr></tbody></table></div>
<p>Now edit /etc/postfix/master.cf and change it to look like this:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># /etc/postfix/master.cf<br />
26 &nbsp; inet &nbsp;n - - - - smtpd<br />
&nbsp; &nbsp; &nbsp;-o content_filter=spamassassin<br />
<br />
# Add this segment to end of file<br />
# Spamassassin processing filter<br />
spamassassin unix - n n - - pipe<br />
&nbsp; &nbsp; &nbsp;user=spamd argv=/usr/bin/spamc -e<br />
&nbsp; &nbsp; &nbsp;/usr/sbin/sendmail -oi -f ${sender} ${recipient}</div></td></tr></tbody></table></div>
<p>Now reboot some stuff</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ sudo /etc/init.d/spamassassin restart<br />
$ sudo postfix reload</div></td></tr></tbody></table></div>
<p>Now test by sending email to yourself. If you view the full headers it should now have X-SPAM headers in it. </p>
<p>If you send an email with &#8220;XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X&#8221; in the body of the email, it is guaranteed to be flagged as SPAM, and is a great way to test your spam filter.</p>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2009/03/configuring-spamassassin-as-a-daemon-on-ubuntu-intrepid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
