<?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>Thijs Lensselink&#039;s Blog &#187; Dovecot</title>
	<atom:link href="http://lenss.nl/tag/dovecot/feed/" rel="self" type="application/rss+xml" />
	<link>http://lenss.nl</link>
	<description>Webdevelopment and stuff...</description>
	<lastBuildDate>Thu, 26 Apr 2012 21:48:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Postfix with Dovecot results in MySQL Access denied</title>
		<link>http://lenss.nl/2009/06/postfix_dovecot_mysql_access_denied/</link>
		<comments>http://lenss.nl/2009/06/postfix_dovecot_mysql_access_denied/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 16:57:52 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Dovecot]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[Postfix]]></category>

		<guid isPermaLink="false">http://lenss.nl/?p=465</guid>
		<description><![CDATA[While installing a new mail server i ran into a problem with SMTP authentication. The mail server in question is postfix installed on a Debian lenny box. The backend for postfix is MySQL. And because SASL is always a pain to configure i used dovecot to do the SMTP authentication with the MySQL backend. This [...]]]></description>
			<content:encoded><![CDATA[<p>While installing a new mail server i ran into a problem with SMTP authentication. The mail server in question is postfix installed on a Debian lenny box. The backend for postfix is MySQL. And because <a href="http://asg.web.cmu.edu/sasl/">SASL</a> is always a pain to configure i used <a href="http://www.dovecot.org/">dovecot</a> to do the SMTP authentication with the MySQL backend. This however resulted in the following error </p>
<blockquote><p>Jun 21 17:43:02 ims1 dovecot: auth-worker(default): mysql: Connect failed to localhost (mail): Access denied for user &#8216;mail_admin&#8217;@'localhost&#8217; (using password: YES) &#8211; waiting for 1 seconds before retry</p></blockquote>
<p>It took me a while to figure this out. The settings in &#8216;dovecot-sql.conf&#8217; were correct. Logging in with the same data from a shell went without a problem. I remembered i had this problem some years ago. With a <a href="http://www.inter7.com/index.php?page=vpopmail">vpopmail</a> setup. The problem then was the encryption algorithm used by MySQL. So i tried to use the older encryption algorithm.</p>
<blockquote><p>SET PASSWORD FOR &#8216;user&#8217;@'localhost&#8217; = OLD_PASSWORD(&#8216;password&#8217;);</p></blockquote>
<p>After a restart everything was fine. </p>
<blockquote><p>Jun 21 18:41:03 ims1 dovecot: auth-worker(default): mysql: Connected to localhost (mail)</p></blockquote>
<p>Like i said it took me a while to figure out. So maybe i can safe somebody some time.</p>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2009/06/postfix_dovecot_mysql_access_denied/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
