<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — Fixed in iRedAdmin-1.0.0: mail alias doesn't work]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic406.xml" />
	<updated>2009-11-09T05:39:27Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic406-fixed-in-iredadmin100-mail-alias-doesnt-work.html</id>
		<entry>
			<title type="html"><![CDATA[Fixed in iRedAdmin-1.0.0: mail alias doesn't work]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post1757.html#p1757" />
			<content type="html"><![CDATA[<p>This post is used to fix bug in iRedAdmin-1.0.0 (Full-Featured Edition), if it doesn&#039;t work for you, please post a new topic in this forum.<br />=================</p><p>Hi, all.</p><p>There is a bug (2nd) in iRedAdmin-1.0.0 (Full-Featured Edition).</p><h5>Abstract</h5><p>Mail alias doesn&#039;t work. When send mail to alias account, postfix said: User unknown in virtual mailbox table.</p><h5>Root Case</h5><p>There&#039;s a bug in iRedAdmin (libs/iredldif.py, function: ldif_alias()), missing necessary enabled services.</p><h5>Affected versions</h5><ul><li><p>iRedAdmin-1.0.x (Full-Featured Edition)</p></li></ul><h5>Credits</h5><ul><li><p>Thanks ho.iredmail@gmail for his report.</p></li></ul><h5>Steps to fix it</h5><ul><li><p>Download patch and copy to iRedAdmin installation directory, and change current directory to iRedAdmin.</p></li></ul><div class="codebox"><pre><code># ---- Download patch ----
# wget http://www.iredmail.org/patches/iredadmin/ent/1.0.0/iredadmin-v100-02-20091109.patch

# ---- On RHEL/CentOS ----
# cp iredadmin-v100-02-20091109.patch /var/www/iredadmin/
# cd /var/www/iredadmin/

# ---- On Debian/Ubuntu ----
# cp iredadmin-v100-02-20091109.patch /usr/share/apache2/iredadmin/
# cd /usr/share/apache2/iredadmin/</code></pre></div><ul><li><p>Use patch command with &#039;--dry-patch&#039; options to test whether this patch will be applied clearly. If command output is not <strong>SAME</strong> as below, please do <strong>NOT</strong> try further steps, and post a new topic in this forum.</p></li></ul><div class="codebox"><pre><code># patch --dry-run -p1 &lt; iredadmin-v100-02-20091109.patch
patching file libs/ldaplib/iredldif.py</code></pre></div><ul><li><p>Patch it.</p></li></ul><div class="codebox"><pre><code># patch -p1 &lt; iredadmin-v100-02-20091109.patch
patching file libs/ldaplib/iredldif.py</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2009-11-09T05:39:27Z</updated>
			<id>http://www.iredmail.org/forum/post1757.html#p1757</id>
		</entry>
</feed>
