Topic: Fixed in iRedAdmin-1.0.0: not all arguments converted
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.
There is a bug in iRedAdmin-1.0.0 (Full-Featured Edition).
When user's mail quota is less than 1KB, iRedAdmin will raise an 'Internal server error'.
There's a bug in iRedAdmin (libs/iredutils.py, function: filesizeformat()), not all arguments converted during string formatting.
iRedAdmin-1.0.0 (Full-Featured Edition)
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-20091105-01.patch # ---- On RHEL/CentOS ---- # cp iredadmin-v100-20091105-01.patch /var/www/iredadmin/ # cd /var/www/iredadmin/ # ---- On Debian/Ubuntu ---- # cp iredadmin-v100-20091105-01.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-20091105-01.patch patching file libs/__init__.py patching file libs/iredutils.py
# patch -p1 < iredadmin-v100-20091105-01.patch patching file libs/__init__.py patching file libs/iredutils.py