<?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>All the way from Cambridge &#187; email</title>
	<atom:link href="http://blog.pc-tony.com/category/email/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.pc-tony.com</link>
	<description></description>
	<lastBuildDate>Thu, 20 Oct 2011 23:35:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Postfix + SASL + Dovecot</title>
		<link>http://blog.pc-tony.com/2009/06/postfix-sasl-dovecot/</link>
		<comments>http://blog.pc-tony.com/2009/06/postfix-sasl-dovecot/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 10:48:44 +0000</pubDate>
		<dc:creator>pctony</dc:creator>
				<category><![CDATA[email]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Note to self]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.pc-tony.com/?p=153</guid>
		<description><![CDATA[After trying to find a way to make my postfix installation allow authenticated users (over TLS will come later) relay mail using SASL, on a CentOS machine using only CentOS packages I discovered it was not as easy as I &#8230; <a href="http://blog.pc-tony.com/2009/06/postfix-sasl-dovecot/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After trying to find a way to make my postfix installation allow authenticated users (over TLS will come later) relay mail using SASL, on a CentOS machine using only CentOS packages I discovered it was not as easy as I may have liked.</p>
<p>So after installing cyrus-sasl, postfix and dovecot all I needed to do was:</p>
<p>Edit /etc/postfix/main.cf  &#8211; At the end of your configuration add:</p>
<blockquote><p>smtpd_sasl_auth_enable = yes<br />
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination<br />
smtpd_sasl_security_options = noanonymous<br />
smtpd_sasl_type = dovecot<br />
smtpd_sasl_path = private/auth</p></blockquote>
<p>Don&#8217;t forget that postfix by default runs in it&#8217;s own chroot jail, so the smptd_sasl_path above is relative to the postfix root. So in my case on CentOS 5 that equates to &#8220;/var/spool/postfix/private/auth&#8221;</p>
<p>Now go on and edit your /etc/dovecot.conf file.  Find the lines</p>
<blockquote><p>userdb passwd {<br />
}</p></blockquote>
<p>Then add this immediately below it</p>
<blockquote><p>socket listen {<br />
client {<br />
path = /var/spool/postfix/private/auth<br />
mode = 0660<br />
user = postfix<br />
group = postfix<br />
}<br />
}</p></blockquote>
<p>Now all you need to do is restart postfix, dovecot and (re)start saslauthd</p>
<blockquote><p>/etc/init.d/postfix restart<br />
/etc/init.d/dovecot restart<br />
/etc/init.d/saslauthd restart</p></blockquote>
<p>If you now telnet to your mail server on port 25, and use EHLO you should be able to see the following</p>
<blockquote><p>ehlo me<br />
250-your.server.domain.com<br />
250-PIPELINING<br />
250-SIZE 10240000<br />
250-VRFY<br />
250-ETRN<br />
250-AUTH PLAIN LOGIN<br />
250-ENHANCEDSTATUSCODES<br />
250-8BITMIME<br />
250 DSN</p></blockquote>
<p>My next posting will include details on how to extend this to include the use of TLS</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pc-tony.com/2009/06/postfix-sasl-dovecot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>qmail here I come</title>
		<link>http://blog.pc-tony.com/2009/02/qmail-here-i-come/</link>
		<comments>http://blog.pc-tony.com/2009/02/qmail-here-i-come/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 06:56:30 +0000</pubDate>
		<dc:creator>pctony</dc:creator>
				<category><![CDATA[email]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.pc-tony.com/?p=104</guid>
		<description><![CDATA[At some point today I&#8217;ll be moving from postfix to qmail as my MTA. In part my hand has been forced, after offering to host a website for my brother in law (alias overlap). So aspart of the reorganization I &#8230; <a href="http://blog.pc-tony.com/2009/02/qmail-here-i-come/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>At some point today I&#8217;ll be moving from postfix to qmail as my MTA.</p>
<p>In part my hand has been forced, after offering to host a website for my brother in law (alias overlap). So aspart of the reorganization I decided to take a look into qmail. The fact that we use it within the ASF too, means that I will hopefully be better able to help with that should the need arise. </p>
<p>Here&#8217;s hoping all goes well. </p>
<p>All my mail goes via a 3rd party filtering system (for now) so I won&#8217;t lose any mail it might just mean a slightly longer delay than usual.    </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pc-tony.com/2009/02/qmail-here-i-come/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Botnets! Seek and destroy!</title>
		<link>http://blog.pc-tony.com/2008/06/botnets-seek-and-destroy/</link>
		<comments>http://blog.pc-tony.com/2008/06/botnets-seek-and-destroy/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 21:01:45 +0000</pubDate>
		<dc:creator>pctony</dc:creator>
				<category><![CDATA[email]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.pc-tony.com/?p=22</guid>
		<description><![CDATA[I have just had over 11, 200 emails delivered.  Sadly they were all NDRs [1]. Sadly some flaming idiot in Poland, has been sending out emails claiming to be me. I have looked at the message headers for a few &#8230; <a href="http://blog.pc-tony.com/2008/06/botnets-seek-and-destroy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have just had over 11, 200 emails delivered.  Sadly they were all <a href="http://en.wikipedia.org/wiki/Non-delivery_report" target="_blank">NDRs</a> [1].</p>
<p>Sadly some flaming idiot in Poland, has been sending out emails claiming to be me.<br />
I have looked at the message headers for a few of them, they all came from different servers, different providers.</p>
<p>Now, I wonder if there is an MTA addon that checks the message headers as they come in, especially if the message looks like an NDR, and if the message didn&#8217;t originate from one of my known IPs (SPF records perhaps) then reject the message, or pass it to SpamAssassin, or the likes. Any ideas?<br />
[1] NDR &#8211; Non-Delivery Report</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pc-tony.com/2008/06/botnets-seek-and-destroy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Spam &amp; Greylisting</title>
		<link>http://blog.pc-tony.com/2008/03/spam-greylisting/</link>
		<comments>http://blog.pc-tony.com/2008/03/spam-greylisting/#comments</comments>
		<pubDate>Sat, 29 Mar 2008 18:25:28 +0000</pubDate>
		<dc:creator>pctony</dc:creator>
				<category><![CDATA[email]]></category>
		<category><![CDATA[Friends]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.pc-tony.com/?p=14</guid>
		<description><![CDATA[Following on from Rich&#8217;s post about grey-listing I ran off to the website and downloaded a copy of greyfix. I quickly installed it, and setup postfix. I immediately noticed a difference in /var/log/mail I now receive about 20 spam messages &#8230; <a href="http://blog.pc-tony.com/2008/03/spam-greylisting/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="entry-content">
<p>Following on from Rich&#8217;s <a href="http://wooga.drbacchus.com/greylisting">post</a> about grey-listing I ran off to the <a href="http://www.kim-minh.com/pub/greyfix/">website</a> and downloaded a copy of greyfix.</p>
<p>I quickly installed it, and setup postfix.  I <em><strong>immediately</strong></em><strong></strong> noticed a difference in /var/log/mail I now receive about 20 spam messages a day, rather than over 900 a day. What an improvement.</p>
<p>Like Rich, I had been looking at grey listing but caved in when trying to set it up. This is so easy I&#8217;m sure most anyone could get it working. My only change from the default install is to lower the retry time from 3480 secs (58 minutes) to a lower threshold. As of yet I am still to receive a mail from an <code>IPV6</code> host so I am not too worried about that limitation just yet.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.pc-tony.com/2008/03/spam-greylisting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

