<?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>The Lazy Sys Admin&#187; Postfix</title>
	<atom:link href="http://www.thelazysysadmin.net/category/postfix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thelazysysadmin.net</link>
	<description>Why do things the hard way?</description>
	<lastBuildDate>Mon, 07 Jun 2010 22:24:09 +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>Postfix/SASL/Courier AuthDaemon Cannot connect to Courier authdaemond: No such file or directory</title>
		<link>http://www.thelazysysadmin.net/2009/08/cannot-connect-to-courier-authdaemond-no-such-file-or-directory/</link>
		<comments>http://www.thelazysysadmin.net/2009/08/cannot-connect-to-courier-authdaemond-no-such-file-or-directory/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 23:34:49 +0000</pubDate>
		<dc:creator>Jon Smith</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[Authdaemon]]></category>
		<category><![CDATA[Courier]]></category>
		<category><![CDATA[SASL]]></category>

		<guid isPermaLink="false">http://www.thelazysysadmin.net/?p=619</guid>
		<description><![CDATA[I have a Ubuntu Virtual Server handling all my mail, recently after an apt-get upgrade I was unable to send email using my Postfix Virtual User setup through Courier and SASL. I kept getting the following error in my logs: Aug 18 07:53:53 marvin postfix/smtpd[23938]: warning: SASL authentication failure: cannot connect to Courier authdaemond: No [...]]]></description>
			<content:encoded><![CDATA[<p>I have a Ubuntu Virtual Server handling all my mail, recently after an apt-get upgrade I was unable to send email using my Postfix Virtual User setup through Courier and SASL.</p>
<p>I kept getting the following error in my logs:</p>
<pre class="brush: plain;">Aug 18 07:53:53 marvin postfix/smtpd[23938]: warning: SASL authentication
  failure: cannot connect to Courier authdaemond: No such file or directory
Aug 18 07:53:53 marvin postfix/smtpd[23938]: warning: localhost[127.0.0.1]:
  SASL LOGIN authentication failed: generic failure</pre>
<p>After consulting with Google for at least an hour i finally hit upon a page that helped me.</p>
<p><span id="more-619"></span>I found the answer in the following howto <a href="http://wiki.tolien.co.uk/Postfix_w/o_Maildrop" target="_blank">Postfix w/o Maildrop</a>. The authdaemon socket setup described on this page was slightly different to the usual suggestions (most help I found online suggested to create a hardlink to the socket file inside the Postfix chroot, this doesn&#8217;t work for Ubuntu cause the /var/run is on a different filesystem and a symlink didn&#8217;t work for me either). The following commands were taken directly from the howto listed above (all credit should go to the writer of that page).</p>
<pre class="brush: plain;">/etc/init.d/courier-authdaemon stop
rm -rf /var/run/courier/authdaemon/ \
 /var/spool/postfix/var/run/courier/authdaemon/
mkdir -p /var/spool/postfix/var/run/courier/authdaemon/
ln -s /var/spool/postfix/var/run/courier/authdaemon/ \
 /var/run/courier/authdaemon
/etc/init.d/courier-authdaemon start
postfix reload</pre>
<p>The end result is that Postfix is not reading/accessing a symlinked version of the authdaemon socket and everything works as expected.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelazysysadmin.net/2009/08/cannot-connect-to-courier-authdaemond-no-such-file-or-directory/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
