<?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; postfix</title>
	<atom:link href="http://andr3w.net/tag/postfix/feed/" rel="self" type="application/rss+xml" />
	<link>http://andr3w.net</link>
	<description>amateur web development...</description>
	<lastBuildDate>Fri, 20 Aug 2010 21:08:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<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 [...]]]></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>Migrating Email Server</title>
		<link>http://andr3w.net/2009/03/migrating-email-server/</link>
		<comments>http://andr3w.net/2009/03/migrating-email-server/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 23:09:38 +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[postfix]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=67</guid>
		<description><![CDATA[Here are the steps that I went through to migrate my Postfix/Courier server from Slicehost to Mosso. Check current DNS MX records for applicable domains. I had mine set to all go through a central A record (my mail server) so it was easy. Set MX records to expire quickly (I think the minimum is [...]]]></description>
			<content:encoded><![CDATA[<p>Here are the steps that I went through to migrate my Postfix/Courier server from Slicehost to Mosso.</p>
<ol>
<li>Check current DNS MX records for applicable domains. I had mine set to all go through a central A record (my mail server) so it was easy.</li>
<li>Set MX records to expire quickly (I think the minimum is 60 minutes). This can take 24 hours to propogate, so do this early, and then you&#8217;ll have time to do the rest of the processing.</li>
<li>Configure Postfix/Courier/IMAP as desired on new server. There are a lot of howtos on this, and some hints on this site, so I won&#8217;t go over how to do this here.</li>
<li>Test server to ensure that email can go in and out and that any spam filtering or other processes are operating well.</li>
<li>I use MySQL for managing users and forwardings, so I dumped and locked my existing database, and copied that to the new database.</li>
<li>Rsync maildirs over from the old server to the new server. This can take a while, depending on server speed and bandwidth.</li>
<li>Ensure that Postfix and Courier are up and running on the new server.</li>
<li>Change central DNS record to point to new server IP address.</li>
<li>Stop Postfix and Courier on old server. This could lead to a couple of bounced emails, but in all likelihood the sending email servers will retry and find their way to the new server.</li>
<li>Watch closely.</li>
</ol>
<p>There should be very little loss of email, connectivity, or data using this path.</p>
<p>If anyone has any better suggestions, let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2009/03/migrating-email-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Courier IMAP SSL Certificate Issues</title>
		<link>http://andr3w.net/2009/03/courier-imap-ssl-certificate-issues/</link>
		<comments>http://andr3w.net/2009/03/courier-imap-ssl-certificate-issues/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 19:05:53 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[email]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[courier]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=55</guid>
		<description><![CDATA[If you are having issues getting an SSL connection to Courier IMAP. Check your certificate files. 12# In /etc/courier/imapd-ssl TLS_CERTFILE=/etc/ssl/private/certificate.pem Courier is expecting a PEM file for TLS_CERTFILE with your certificate and private key. Do not use just your certificate. Also, if you require intermediate certificates to complete the trust chain, you can include them [...]]]></description>
			<content:encoded><![CDATA[<p>If you are having issues getting an SSL connection to Courier IMAP. Check your certificate files.</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"># In /etc/courier/imapd-ssl<br />
TLS_CERTFILE=/etc/ssl/private/certificate.pem</div></td></tr></tbody></table></div>
<p>Courier is expecting a PEM file for TLS_CERTFILE with your certificate and private key. Do not use just your certificate.</p>
<p>Also, if you require intermediate certificates to complete the trust chain, you can include them in this file.</p>
<p><strong>MAKE SURE</strong> that you have proper permissions on this file to the security of your private key.</p>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2009/03/courier-imap-ssl-certificate-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make Postfix Listen to Multiple Ports</title>
		<link>http://andr3w.net/2009/03/make-postfix-listen-to-multiple-ports/</link>
		<comments>http://andr3w.net/2009/03/make-postfix-listen-to-multiple-ports/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 19:01:49 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[email]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=53</guid>
		<description><![CDATA[If you need postfix to listen on multiple ports (like I do) add lines like the following (replace numbers with whatever ports you desire): 123# In /etc/postfix/master.cf 25        inet  n       -       -       -       -       smtpd 26   [...]]]></description>
			<content:encoded><![CDATA[<p>If you need postfix to listen on multiple ports (like I do) add lines like the following (replace numbers with whatever ports you desire):</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 /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># In /etc/postfix/master.cf<br />
25        inet  n       -       -       -       -       smtpd<br />
26        inet  n       -       -       -       -       smtpd</div></td></tr></tbody></table></div>
<p>Make sure to open the ports in iptables as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2009/03/make-postfix-listen-to-multiple-ports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
