<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — [FAQ] Upgrade Dovecot from 1.1.x to 1.2.x]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic1330.xml" />
	<updated>2010-12-13T14:49:31Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic1330-faq-upgrade-dovecot-from-11x-to-12x.html</id>
		<entry>
			<title type="html"><![CDATA[Re: [FAQ] Upgrade Dovecot from 1.1.x to 1.2.x]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post6760.html#p6760" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>imapsecured, pop3secured are already present.</p></blockquote></div><p>Yes</p>]]></content>
			<author>
				<name><![CDATA[itsok]]></name>
				<uri>http://www.iredmail.org/forum/user3603.html</uri>
			</author>
			<updated>2010-12-13T14:49:31Z</updated>
			<id>http://www.iredmail.org/forum/post6760.html#p6760</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FAQ] Upgrade Dovecot from 1.1.x to 1.2.x]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post6759.html#p6759" />
			<content type="html"><![CDATA[<p>imapsecured, pop3secured are already present.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2010-12-13T14:16:32Z</updated>
			<id>http://www.iredmail.org/forum/post6759.html#p6759</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FAQ] Upgrade Dovecot from 1.1.x to 1.2.x]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post6758.html#p6758" />
			<content type="html"><![CDATA[<p>Nope, I&#039;ve done the update and the mentioned services are in place.<br />Also I&#039;ve run the python script to update services (-rw-r--r--&nbsp; 1 root root&nbsp; &nbsp; 2045 12. Jun 2010&nbsp; updateLDAPValues_051_to_060.py).</p><p>And by the way &quot;smtpsecured&quot; is not described in the update.</p>]]></content>
			<author>
				<name><![CDATA[itsok]]></name>
				<uri>http://www.iredmail.org/forum/user3603.html</uri>
			</author>
			<updated>2010-12-13T13:23:25Z</updated>
			<id>http://www.iredmail.org/forum/post6758.html#p6758</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FAQ] Upgrade Dovecot from 1.1.x to 1.2.x]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post6757.html#p6757" />
			<content type="html"><![CDATA[<p>Seems you didn&#039;t update your iRedMail to latest version. It&#039;s mentioned here: <a href="http://iredmail.org/wiki/index.php?title=Upgrade/iRedMail/0.5.1-0.6.0#Add_missing_values">http://iredmail.org/wiki/index.php?titl … ing_values</a></p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2010-12-13T12:34:13Z</updated>
			<id>http://www.iredmail.org/forum/post6757.html#p6757</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FAQ] Upgrade Dovecot from 1.1.x to 1.2.x]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post6756.html#p6756" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>itsok wrote:</cite><blockquote><p>The dovecot-auth problem seems solved by your tip but I can not send mails anyway.</p><div class="codebox"><pre><code>Dec 13 12:27:30 mail postfix/smtpd[23426]: warning: xxx.pool.mediaWays.net[77.181.ww.xx]: SASL LOGIN authentication failed: UGFzc3dvcmQ6</code></pre></div><p>After enabling debug in dovecot.conf the logs revealed the following:<br /></p><div class="codebox"><pre><code>Dec 13 12:42:00 auth(default): Info: ldap(itsok@domain.de,77.181.xx.xx): bind search: base=o=domains,dc=domain,dc=de filter=(&amp;(objectClass=mailUser)(accountStatus=active)(enabledService=mail)(enabledService=smtpsecured)(|(mail=itsok@domain.de)(&amp;(enabledService=shadowaddress)(shadowAddress=itsok@domain.de))))
Dec 13 12:42:00 auth(default): Info: ldap(itsok@domain.de,77.181.xx.xx): unknown user
Dec 13 12:42:02 auth(default): Info: client out: FAIL    2    user=itsok@domain.de</code></pre></div><p>Seem&#039;s curious while receiving mails works...</p></blockquote></div><p>Found the problem: auth searchs for &quot;enabledService=securesmtp&quot; in LDAP but this service is not set anywhere. Seems that this was not used before. After adding this attribute sending mails works.</p>]]></content>
			<author>
				<name><![CDATA[itsok]]></name>
				<uri>http://www.iredmail.org/forum/user3603.html</uri>
			</author>
			<updated>2010-12-13T12:06:22Z</updated>
			<id>http://www.iredmail.org/forum/post6756.html#p6756</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FAQ] Upgrade Dovecot from 1.1.x to 1.2.x]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post6755.html#p6755" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>itsok wrote:</cite><blockquote><p>After enabling debug in dovecot.conf the logs revealed the following:</p></blockquote></div><p>Could you please post all related log in /var/log/dovecot.log?</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2010-12-13T12:04:37Z</updated>
			<id>http://www.iredmail.org/forum/post6755.html#p6755</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FAQ] Upgrade Dovecot from 1.1.x to 1.2.x]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post6754.html#p6754" />
			<content type="html"><![CDATA[<p>The dovecot-auth problem seems solved by your tip but I can not send mails anyway.</p><div class="codebox"><pre><code>Dec 13 12:27:30 mail postfix/smtpd[23426]: warning: xxx.pool.mediaWays.net[77.181.ww.xx]: SASL LOGIN authentication failed: UGFzc3dvcmQ6</code></pre></div><p>After enabling debug in dovecot.conf the logs revealed the following:<br /></p><div class="codebox"><pre><code>Dec 13 12:42:00 auth(default): Info: ldap(itsok@domain.de,77.181.xx.xx): bind search: base=o=domains,dc=domain,dc=de filter=(&amp;(objectClass=mailUser)(accountStatus=active)(enabledService=mail)(enabledService=smtpsecured)(|(mail=itsok@domain.de)(&amp;(enabledService=shadowaddress)(shadowAddress=itsok@domain.de))))
Dec 13 12:42:00 auth(default): Info: ldap(itsok@domain.de,77.181.xx.xx): unknown user
Dec 13 12:42:02 auth(default): Info: client out: FAIL    2    user=itsok@domain.de</code></pre></div><p>Seem&#039;s curious while receiving mails works...</p><br /><br /><br /><p>I will analyze the other problem with www-data later.</p>]]></content>
			<author>
				<name><![CDATA[itsok]]></name>
				<uri>http://www.iredmail.org/forum/user3603.html</uri>
			</author>
			<updated>2010-12-13T11:35:47Z</updated>
			<id>http://www.iredmail.org/forum/post6754.html#p6754</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FAQ] Upgrade Dovecot from 1.1.x to 1.2.x]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post6753.html#p6753" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>itsok wrote:</cite><blockquote><p>Dec 13 11:59:44 deliver(www-data): Error: sieve: failed to stat user&#039;s sieve script: stat(/var/vmail/sieve//www-data/dovecot.sieve) failed: Permission denied (euid=33(www-data) egid=33(www-data) missing +x perm: /var/vmail) (using global script path in stead)</p></blockquote></div><p>Seems this mail is delivered to web server user (www-data).<br />Since &#039;www-data&#039; is not a virtual mail user, there&#039;s not mailbox for it, and this is correct.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2010-12-13T11:24:23Z</updated>
			<id>http://www.iredmail.org/forum/post6753.html#p6753</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FAQ] Upgrade Dovecot from 1.1.x to 1.2.x]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post6752.html#p6752" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>itsok wrote:</cite><blockquote><p>Dec 13 12:05:14 mail postfix/smtpd[23043]: warning: when SASL type is &quot;dovecot&quot;, SASL path &quot;dovecot-auth&quot; should be a socket pathname</p></blockquote></div><p>In Postfix main.cf, you have this setting:<br /></p><div class="codebox"><pre><code>smtpd_sasl_path = dovecot-auth</code></pre></div><p>Change it to below setting and restart postfix will fix it:<br /></p><div class="codebox"><pre><code>smtpd_sasl_path = ./dovecot-auth</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2010-12-13T11:23:02Z</updated>
			<id>http://www.iredmail.org/forum/post6752.html#p6752</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FAQ] Upgrade Dovecot from 1.1.x to 1.2.x]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post6751.html#p6751" />
			<content type="html"><![CDATA[<p>ok, I am back...</p><p>After the upgrade and the changes described in the wiki first all seem&#039;s ok, receiving mails is fine.<br />But then I tried mail sending and got the following error:</p><div class="codebox"><pre><code>Dec 13 12:05:14 mail postfix/smtpd[23043]: warning: when SASL type is &quot;dovecot&quot;, SASL path &quot;dovecot-auth&quot; should be a socket pathname</code></pre></div><p>Sending mails fails. And I do not see the error because the authentification part was not touched...</p><p>Can you please help me again?</p><br /><br /><p>Finally I found another error:<br /></p><div class="codebox"><pre><code>Dec 13 11:59:44 deliver(www-data): Error: sieve: failed to stat user&#039;s sieve script: stat(/var/vmail/sieve//www-data/dovecot.sieve) failed: Permission denied (euid=33(www-data) egid=33(www-data) missing +x perm: /var/vmail) (using global script path in stead)
Dec 13 11:59:44 deliver(www-data): Error: sieve: main_script: failed to stat sieve script: lstat(/var/vmail/sieve/dovecot.sieve) failed: Permission denied (euid=33(www-data) egid=33(www-data) missing +x perm: /var/vmail)
Dec 13 11:59:44 deliver(www-data): Error: sieve: main_script: internal error occurred: refer to server log for more information. [2010-12-13 11:59:44]
Dec 13 11:59:44 deliver(www-data): Error: sieve: failed to open script /var/vmail/sieve/dovecot.sieve</code></pre></div><p>This occurs when the awstats cron job tries to send mail to a mailaccount which had have working sieve rules before upgrade.</p>]]></content>
			<author>
				<name><![CDATA[itsok]]></name>
				<uri>http://www.iredmail.org/forum/user3603.html</uri>
			</author>
			<updated>2010-12-13T11:09:03Z</updated>
			<id>http://www.iredmail.org/forum/post6751.html#p6751</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FAQ] Upgrade Dovecot from 1.1.x to 1.2.x]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post6750.html#p6750" />
			<content type="html"><![CDATA[<p>Thanks for the answer.</p><p>I&#039;ll upgrade the system during the next hours and if I encounter some errors I&#039;ll be back ;-)</p><br /><br /><p>greets<br /> Oliver</p>]]></content>
			<author>
				<name><![CDATA[itsok]]></name>
				<uri>http://www.iredmail.org/forum/user3603.html</uri>
			</author>
			<updated>2010-12-13T10:25:47Z</updated>
			<id>http://www.iredmail.org/forum/post6750.html#p6750</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FAQ] Upgrade Dovecot from 1.1.x to 1.2.x]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post6749.html#p6749" />
			<content type="html"><![CDATA[<p>It&#039;s safe to upgrade dovecot with other packages which apt-get recommend.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2010-12-13T10:04:05Z</updated>
			<id>http://www.iredmail.org/forum/post6749.html#p6749</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FAQ] Upgrade Dovecot from 1.1.x to 1.2.x]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post6748.html#p6748" />
			<content type="html"><![CDATA[<p>Can nobody answer the question of my previous post? I&#039;d like to upgrade dovecot but I&#039;m unsteady about the other packages.</p>]]></content>
			<author>
				<name><![CDATA[itsok]]></name>
				<uri>http://www.iredmail.org/forum/user3603.html</uri>
			</author>
			<updated>2010-12-13T10:01:47Z</updated>
			<id>http://www.iredmail.org/forum/post6748.html#p6748</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FAQ] Upgrade Dovecot from 1.1.x to 1.2.x]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post6426.html#p6426" />
			<content type="html"><![CDATA[<p>Hi,</p><p>when I follow the tutorial of upgrading dovecot under Debian lenny the upgrade process wants to upgrade several other packages.<br />Because there is no hint in the tutorial I aborted upgrade. <br />So my question is if it&#039;s ok to upgrade also all other packages?</p><div class="codebox"><pre><code>root@mail:/var/vmail# apt-get -t lenny-backports upgrade dovecot-imapd dovecot-pop3d
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut       
Lese Status-Informationen ein... Fertig
Die folgenden Pakete sind zurückgehalten worden:
  amavisd-new info libcompress-raw-zlib-perl libcompress-zlib-perl libio-compress-base-perl libio-compress-zlib-perl postgresql-client
Die folgenden Pakete werden aktualisiert:
  binutils cpp-4.3 dovecot-common dovecot-imapd dovecot-pop3d fontconfig-config g++-4.3 gcc-4.3 
gcc-4.3-base gnupg gpgv libapache2-mod-wsgi libapr1 libdigest-sha1-perl libfontconfig1 libgcc1 libgeoip1 
libgomp1 libmail-spf-perl libnet-dns-perl libpq5 libsqlite3-0 libstdc++6 libstdc++6-4.3-dev liburi-perl 
libxapian15 linux-libc-dev mysql-common postfix postfix-ldap postfix-pcre postgresql-client-common 
python-jinja2 python-netifaces python-support python-webpy rsyslog spamassassin spamc
39 aktualisiert, 0 neu installiert, 0 zu entfernen und 7 nicht aktualisiert.
Es müssen 33,2MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 8702kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren [J/n]? n</code></pre></div><p>Thanks!</p><p>PS: and also thank you for this great mail solution!</p>]]></content>
			<author>
				<name><![CDATA[itsok]]></name>
				<uri>http://www.iredmail.org/forum/user3603.html</uri>
			</author>
			<updated>2010-11-19T11:37:43Z</updated>
			<id>http://www.iredmail.org/forum/post6426.html#p6426</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FAQ] Upgrade Dovecot from 1.1.x to 1.2.x]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post6346.html#p6346" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>gondim wrote:</cite><blockquote><p>Hi !</p><p>I have many problems with this. Look this erros in conf:</p><p>(root@mail)[~]# /etc/init.d/dovecot restart<br />Parando o Dovecot Imap:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [FALHOU]<br />Iniciando Dovecot Imap: Error: Error in configuration file /etc/dovecot.conf line 14: Unknown setting: umask<br />Fatal: Invalid configuration in /etc/dovecot.conf<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[FALHOU]<br />(root@mail)[~]# vi /etc/dovecot.conf<br />(root@mail)[~]# vi /etc/dovecot.conf<br />(root@mail)[~]# /etc/init.d/dovecot restart<br />Parando o Dovecot Imap:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [FALHOU]<br />Iniciando Dovecot Imap: Error: Error in configuration file /etc/dovecot.conf line 101: Unknown setting: ssl_disable<br />Fatal: Invalid configuration in /etc/dovecot.conf<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[FALHOU]<br />(root@mail)[~]# vi /etc/dovecot.conf.<br />dovecot.conf.2010.07.22.20.14.20&nbsp; dovecot.conf.rpmsave<br />(root@mail)[~]# vi /etc/dovecot<br />dovecot-1.1.conf&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dovecot.conf&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dovecot.conf.rpmsave<br />dovecot-1.2.conf&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dovecot.conf.2010.07.22.20.14.20&nbsp; dovecot-mysql.conf<br />(root@mail)[~]# vi /etc/dovecot-1.2.conf<br />(root@mail)[~]# rpm -e dovecot dovecot-sieve<br />(root@mail)[~]# vi /etc/dovecot.conf<br />(root@mail)[~]#<br />(root@mail)[~]#<br />(root@mail)[~]# vi /etc/dovecot.conf<br />(root@mail)[~]# vi /etc/dovecot<br />dovecot-1.1.conf&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dovecot.conf&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dovecot.conf.rpmsave<br />dovecot-1.2.conf&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dovecot.conf.2010.07.22.20.14.20&nbsp; dovecot-mysql.conf<br />(root@mail)[~]# vi /etc/dovecot-1.2.conf<br />(root@mail)[~]# vi /etc/dovecot.conf<br />(root@mail)[~]# /etc/init.d/dovecot restart<br />Parando o Dovecot Imap:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [FALHOU]<br />Iniciando Dovecot Imap: FPlugin zlib not found from directory /usr/lib64/dovecot/imap<br />Error: imap dump-capability process returned 89<br />Fatal: Invalid configuration in /etc/dovecot.conf<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[FALHOU]</p></blockquote></div><br /><p>Opssss sorry dont see another text. Its ok now!!!</p>]]></content>
			<author>
				<name><![CDATA[gondim]]></name>
				<uri>http://www.iredmail.org/forum/user4754.html</uri>
			</author>
			<updated>2010-11-13T14:32:08Z</updated>
			<id>http://www.iredmail.org/forum/post6346.html#p6346</id>
		</entry>
</feed>
