<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Hotfix for 0.6.0: Domain alias and shadow address don't work (LDAP)]]></title>
		<link>http://www.iredmail.org/forum/topic1023-hotfix-for-060-domain-alias-and-shadow-address-dont-work-ldap.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic1023.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Hotfix for 0.6.0: Domain alias and shadow address don't work (LDAP).]]></description>
		<lastBuildDate>Fri, 25 Jun 2010 12:11:35 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Hotfix for 0.6.0: Domain alias and shadow address don't work (LDAP)]]></title>
			<link>http://www.iredmail.org/forum/post4426.html#p4426</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Fri, 25 Jun 2010 12:11:35 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post4426.html#p4426</guid>
		</item>
	</channel>
</rss>
