Upgrade iRedMail from 1.3.1 to 1.3.2

Attention

Check out the lightweight on-premises email archiving software developed by iRedMail team: Spider Email Archiver.

Paid Remote Upgrade Support

We offer remote upgrade support if you don't want to get your hands dirty, check the details and contact us.

ChangeLog

General (All backends should apply these changes)

Update /etc/iredmail-release with new iRedMail version number

iRedMail stores the release version in /etc/iredmail-release after installation, it's recommended to update this file after you upgraded iRedMail, so that you can know which version of iRedMail you're running. For example:

1.3.2

SOGo: yum and apt repositories for SOGo v4 has been removed permanently by upstream

SOGo team removed nightly builds for SOGo v4 + v3 permanently (FYI: https://sogo.nu/bugs/view.php?id=5157), ALL servers must update yum/apt repository files and switch to SOGo v5.

Please follow our tutorial to upgrade:

Upgrade iRedAPD (Postfix policy server) to the latest stable release (4.6)

Attention

iRedAPD has been migrated to Python 3 and doesn't support Python 2 anymore.

Please follow below tutorial to upgrade iRedAPD to the latest stable release: Upgrade iRedAPD to the latest stable release

Upgrade mlmmjadmin to the latest stable release (3.0.4)

Attention

mlmmjadmin has been migrated to Python 3 and doesn't support Python 2 anymore.

Please follow below tutorial to upgrade mlmmjadmin to the latest stable release: Upgrade mlmmjadmin to the latest stable release

Upgrade iRedAdmin (open source edition) to the latest stable release (1.1)

Attention

iRedAdmin has been migrated to Python 3 and doesn't support Python 2 anymore.

Please follow below tutorial to upgrade iRedAdmin to the latest stable release: Upgrade iRedAdmin to the latest stable release.

Upgrade Roundcube webmail to the latest stable release (1.4.9)

Roundcube 1.4

Since Roundcube 1.3, at least PHP 5.4 is required. If your server is running PHP 5.3 and cannot upgrade to 5.4, please upgrade Roundcube the latest 1.2 branch instead.

All users are encouraged to upgrade the latest Roundcube release.

References:

Upgrade netdata to the latest stable release (1.26.0)

If you have netdata installed, you can upgrade it by following this tutorial: Upgrade netdata.

Fixed: update Fail2ban filter rules to match new error log produced by latest Roundcube

Please run commands below as root user to get latest filter file for Roundcube:

cd /etc/fail2ban/filter.d/
wget -O roundcube.iredmail.conf https://raw.githubusercontent.com/iredmail/iRedMail/1.3.2/samples/fail2ban/filter.d/roundcube.iredmail.conf

Restarting fail2ban service is required.

[OPTIONAL] Amavisd: Log matched virus database name

Please update parameter @av_scanner in Amavisd config file as described below, so that Amavisd logs matched virus database name.

Find parameter @av_scanner like below:

@av_scanners = (
    ...
    qr/\bOK$/,
    qr/\bFOUND$/,
    qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
);

Append letter m after OK$/ and FOUND$/ like below:

@av_scanners = (
    ...
    qr/\bOK$/m,
    qr/\bFOUND$/m,
    qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ],
);

Restarting Amavisd service is required.

OpenLDAP backend

Fixed: can not store mail sender address with utf8 characters in amavisd database

In amavisd database, column msgs.from_addr is defined as VARCHAR(255), it doesn't support emoji characters. Please login to MySQL/MariaDB server as root user or amavisd user, then run SQL commands below to fix it:

USE amavisd;
ALTER TABLE msgs MODIFY COLUMN from_addr VARBINARY(255) NOT NULL DEFAULT '';

MySQL/MariaDB backends

Fixed: can not store mail sender address with utf8 characters in amavisd database

In amavisd database, column msgs.from_addr is defined as VARCHAR(255), it doesn't support emoji characters. Please login to MySQL/MariaDB server as root user or amavisd user, then run SQL commands below to fix it:

USE amavisd;
ALTER TABLE msgs MODIFY COLUMN from_addr VARBINARY(255) NOT NULL DEFAULT '';