iredmail-doc/en_US/upgrade/0-upgrade.iredapd.md

52 lines
1.8 KiB
Markdown
Raw Normal View History

2014-12-16 00:58:27 -06:00
# Upgrade iRedAPD
2015-04-19 03:45:21 -05:00
> Release Notes are available here: [iRedAPD Release Notes](./iredapd.releases.html).
2014-12-16 00:58:27 -06:00
> If you're trying to upgrade iRedAPD-1.3.x or earlier releases to the latest
> iRedAPD, please check this tutorial instead:
> [Upgrade iRedAPD from v1.3.x or earlier versions to latest release](./upgrade.old.iredapd.html).
> We offer remote upgrade service, check [the price](../support.html) and [contact us](../contact.html).
2015-05-16 20:56:21 -05:00
2014-12-16 00:58:27 -06:00
This tutorial describes how to upgrade iRedAPD from `1.4.0` or later releases
to the latest stable release. It's applicable on all Linux/BSD distributions
supported by iRedMail.
2015-12-10 00:35:32 -06:00
1. Download the latest stable release here: <http://www.iredmail.org/yum/misc/>.
2015-12-14 06:49:37 -06:00
For example, iRedAPD-1.7.0.tar.bz2.
1. Upload it to your iRedMail server. Assume it's `/root/iRedAPD-1.7.0.tar.bz2`.
2015-12-10 00:35:32 -06:00
1. Extract downloaded package and execute upgrade script:
> Note: If you're running iRedMail with OpenLDAP or MySQL/MariaDB backend,
> upgrading from iRedAPD-1.6.0 or earlier releases to the latest iRedAPD-1.7.0
> requires MySQL root username and password, please get them before you run
> upgrade script.
2014-12-16 00:58:27 -06:00
```
# cd /root
2015-12-14 06:49:37 -06:00
# tar xjf iRedAPD-1.7.0.tar.bz2
# cd iRedAPD-1.7.0/tools/
2014-12-16 00:58:27 -06:00
# bash upgrade_iredapd.sh
```
That's all.
2015-04-19 03:45:21 -05:00
----
2015-04-19 03:45:21 -05:00
Important notes:
2014-12-16 00:58:27 -06:00
* iRedAPD-1.7.0 doesn't enable greylisting by default, please enable plugin
`greylisting` in iRedAPD config file (`/opt/iredapd/settings.py`), then
execute SQL command below to enable server-wide greylisting:
```
sql> USE iredapd;
sql> INSERT INTO greylisting (account, priority, sender, sender_priority, active) VALUES ('@.', 0, '@.', 0, 1);
```
2014-12-16 00:58:27 -06:00
* It's recommended to enable plugin `reject_null_sender` in iRedAPD-1.4.4 or
2015-12-10 00:35:32 -06:00
later releases to prevent authenticated user sending spam as null sender.
2014-12-16 00:58:27 -06:00
2015-04-19 03:45:21 -05:00
* Plugin `amavisd_wblist` is required if you manage white/blacklists with
iRedAdmin-Pro.