Upgrade iRedAPD from v1.3.x or earlier versions to latest release

iRedAPD source code is hosted on BitBucket.

Release Notes are available here: iRedAPD Release Notes.

If you're trying to upgrade iRedAPD-1.4.0 or later releases to the latest iRedAPD, please check this tutorial instead: Upgrade iRedAPD

We provide remote upgrade service, check the price and contact us.

This tutorial describes how to upgrade iRedAPD from v1.3.x or earlier versions to the later releases, it's applicable on all Linux/BSD distributions supported by iRedMail.

Important notes:

Steps to upgrade iRedAPD-1.3.x or earlier versions:

# tar xjf /root/iRedAPD-1.4.4.tar.bz2 -C /opt/
# cd /opt
# chown -R iredapd:iredapd iRedAPD-1.4.4
# chmod -R 0700 iRedAPD-1.4.4
# cd /opt/iRedAPD-1.4.4/
# cp settings.py.sample settings.py
# chown -R iredapd:iredapd settings.py
# chmod -R 0400 settings.py

WARNING: Config file /opt/iredapd/settings.py contains sensitive infomation (username, password), please don't make it world-readable. Permission 0400 is the best.

# rm -i /opt/iredapd               # <- Don't not end with '/'.
# cp /opt/iredapd/rc_scripts/iredapd.rhel /etc/init.d/iredapd
# chmod +x /etc/init.d/iredapd
# cd /opt/
# ln -s iRedAPD-1.4.4 iredapd
#
# ---- On Linux ----
#
# /etc/init.d/iredapd restart

#
# ---- On FreeBSD ----
#
# /usr/local/etc/rc.d/iredapd restart

#
# ---- On OpenBSD ----
#
# /etc/rc.d/iredapd restart
# /etc/init.d/iredapd-rr stop
# rm /etc/init.d/iredapd-rr

Check whether you have check_policy_service inet:127.0.0.1:__7778__ in Postfix config file /etc/postfix/main.cf (Linux/OpenBSD) or /usr/local/etc/postfix/main.cf (FreeBSD), if you have it, please remove it, then restart Postfix service.

All documents are available in BitBucket repository, and published under Creative Commons license. If you found something wrong, please do contact us to fix it.