Topic: Fixed in iRedAdmin-1.0.0: mail alias doesn't work
This post is used to fix bug in iRedAdmin-1.0.0 (Full-Featured Edition), if it doesn't work for you, please post a new topic in this forum.
=================
Hi, all.
There is a bug (2nd) in iRedAdmin-1.0.0 (Full-Featured Edition).
Abstract
Mail alias doesn't work. When send mail to alias account, postfix said: User unknown in virtual mailbox table.
Root Case
There's a bug in iRedAdmin (libs/iredldif.py, function: ldif_alias()), missing necessary enabled services.
Affected versions
iRedAdmin-1.0.x (Full-Featured Edition)
Credits
Thanks ho.iredmail@gmail for his report.
Steps to fix it
Download patch and copy to iRedAdmin installation directory, and change current directory to iRedAdmin.
# ---- 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/
Use patch command with '--dry-patch' options to test whether this patch will be applied clearly. If command output is not SAME as below, please do NOT try further steps, and post a new topic in this forum.
# patch --dry-run -p1 < iredadmin-v100-02-20091109.patch
patching file libs/ldaplib/iredldif.py
Patch it.
# patch -p1 < iredadmin-v100-02-20091109.patch
patching file libs/ldaplib/iredldif.py
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.