<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — Hotfix for 0.6.0: Domain alias and shadow address don't work (LDAP)]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic1023.xml" />
	<updated>2010-06-25T12:11:35Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic1023-hotfix-for-060-domain-alias-and-shadow-address-dont-work-ldap.html</id>
		<entry>
			<title type="html"><![CDATA[Hotfix for 0.6.0: Domain alias and shadow address don't work (LDAP)]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post4426.html#p4426" />
			<content type="html"><![CDATA[<p>This post is used to fix domain alias issue in iRedMail-0.6.0 and iRedOS-0.6.0. if it doesn&#039;t work for you, please post a new topic in <a href="http://www.iredmail.org/forum/forum2-iredmail-general-technical-support.html">General Technical Support</a> forum.<br />========</p><h5>Abstract</h5><p>Mail can&#039;t be delivered to shadow address.</p><h5>Affected versions</h5><ul><li><p>iRedMail-0.6.0</p></li><li><p>iRedOS-0.6.0</p></li></ul><h5>Steps to fix it</h5><ul><li><p>Modify dovecot-ldap.conf, change <strong>user_filter</strong> and <strong>pass_filter</strong> to below settings:</p></li></ul><div class="codebox"><pre><code>user_filter     = (&amp;(objectClass=mailUser)(|(mail=%u)(&amp;(enabledService=shadowaddress)(shadowAddress=%u)))(accountStatus=active)(enabledService=mail)(enabledService=%Ls%Lc))

pass_filter     = (&amp;(objectClass=mailUser)(|(mail=%u)(&amp;(enabledService=shadowaddress)(shadowAddress=%u)))(accountStatus=active)(enabledService=mail)(enabledService=%Ls%Lc))</code></pre></div><p>Note: On RHEL/CentOS, it&#039;s /etc/dovecot-ldap.conf, On Debian/Ubuntu, it&#039;s /etc/dovecot/dovecot-ldap.conf, On FreeBSD, it&#039;s /usr/local/etc/dovecot-ldap.conf.</p><ul><li><p>Restart dovecot service.</p></li></ul><div class="codebox"><pre><code>#
# ---- On RHEL/CENTOS/Debian/Ubuntu ----
#
# /etc/init.d/dovecot restart

#
# ---- On FreeBSD ----
#
# /usr/local/etc/rc.d/dovecot restart</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2010-06-25T12:11:35Z</updated>
			<id>http://www.iredmail.org/forum/post4426.html#p4426</id>
		</entry>
</feed>
