Upgrade iRedMail from 0.9.1 to 0.9.2

ChangeLog

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

General (All backends should apply these steps)

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:

# File: /etc/iredmail-release

0.9.2

Don't ban 'application/octet-stream, dat' files in Amavisd

Note: This is only applicable to RHEL/CentOS.

$banned_namepath_re = new_RE(
    # Unknown binary files.
    [qr'M=application/(zip|rar|arc|arj|zoo|gz|bz2|octet-stream)(,|\t).*T=dat(,|\t)'xmi => 'DISCARD'],
    ...
);
$banned_namepath_re = new_RE(
    # Unknown binary files.
    [qr'M=application/(zip|rar|arc|arj|zoo|gz|bz2)(,|\t).*T=dat(,|\t)'xmi => 'DISCARD'],
    ...
);
# service amavisd restart

[OPTIONAL] Update one Fail2ban filter regular expressio to help catch DoS attacks to SMTP service

  1. Open file /etc/fail2ban/filters.d/postfix.iredmail.conf or /usr/local/etc/fail2ban/filters.d/postfix.iredmail.conf (on FreeBSD), find below line under [Definition] section:
            lost connection after AUTH from (.*)\[<HOST>\]

Update above line to below one:

            lost connection after (AUTH|UNKNOWN|EHLO) from (.*)\[<HOST>\]

Restarting Fail2ban service is required.

Document published under a CC BY-ND 3.0 license. If you found something wrong, please do contact us to fix it.