<?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>Never Use This Font &#187; mail server</title>
	<atom:link href="http://neverusethisfont.com/blog/tags/mail-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://neverusethisfont.com/blog</link>
	<description>Aaron Parecki is the co-founder of Geoloqi.com, and specializes in backend systems development.</description>
	<lastBuildDate>Mon, 11 Jul 2011 22:50:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Virtual Users with Postfix and MySQL</title>
		<link>http://neverusethisfont.com/blog/2006/12/virtual-users-with-postfix-and-mysql/</link>
		<comments>http://neverusethisfont.com/blog/2006/12/virtual-users-with-postfix-and-mysql/#comments</comments>
		<pubDate>Mon, 25 Dec 2006 15:01:47 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mail server]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://blog.neverusethisfont.com/2006/12/virtual-users-with-postfix-and-mysql/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>I recently discovered an <a href="http://www.howtoforge.com/fedora_virtual_postfix_mysql_quota_courier" >excellent tutorial on setting up Postfix and Courier</a> to use virtual users read from a MySQL database. This caught my attention because it is a much better setup than having real system users for all email addresses, as it allows much more flexibility. I finally set aside some time to set up a real mail server.</p>
<p>I first went through the tutorial installing everything on a virtual server running on my pc. I used a <a href="http://www.vmware.com/" >VMware</a> image of <a href="http://fedora.redhat.com/" >Fedora Core 5</a>. You can find that and many other VMware images on <a href="http://www.vmware.com/vmtn/appliances/directory/" >VMware&#8217;s appliance directory</a> page.</p>
<p>I ran through the tutorial, and got everything working relatively quickly. There was one thing I had to add that was not in the tutorial. That was this command:</p>
<blockquote><p>postconf -e &#8216;mailbox_transport = virtual&#8217;</p></blockquote>
<p>After that, I was able to send and receive emails from my virtual server.</p>
<p>I then went out and bought another VPS account with <a href="http://www.tektonic.net">Tektonic</a>, planning to have another quick and easy install of the mail software. After running through the tutorial twice, I was still unsuccessful. I kept getting an error in postfix&#8217;s log:</p>
<blockquote><p>Dec 25 06:41:28 mail postfix/smtpd[27714]: fatal: no SASL authentication mechanisms<br />
Dec 25 06:41:29 mail postfix/master[15875]: warning: process /usr/libexec/postfix/smtpd pid 27714 exit status 1<br />
Dec 25 06:41:29 mail postfix/master[15875]: warning: /usr/libexec/postfix/smtpd: bad command startup &#8212; throttling
</p></blockquote>
<p>These three lines show up in my mail log repeatedly. When I try to initiate a connection to my mail server on port 25, there is no response from Postfix:</p>
<blockquote><p>telnet mail.parecki.com 25<br />
Trying mail.parecki.com&#8230;<br />
Connected to mail.parecki.com.<br />
Escape character is &#8216;^]&#8217;.
</p></blockquote>
<p>It just hung after that.</p>
<p>I eventually figured out that I was missing a critical package.</p>
<blockquote><p>yum install cyrus-sasl-plain</p></blockquote>
<p>After installing that package, everything works perfectly! I guess it already came installed on my VMware image for some reason.</p>
<p>Thanks to <a href="http://www.falkotimme.com/" >Falko Timme</a> for writing a great tutorial, and for responding to my forum posts asking for help!</p>
]]></content:encoded>
			<wfw:commentRss>http://neverusethisfont.com/blog/2006/12/virtual-users-with-postfix-and-mysql/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

