Upgrade iRedMail from 0.9.3 to 0.9.4

WARNING: THIS IS STILL A DRAFT DOCUMENT, PLEASE DO NOT APPLY IT.

ChangeLog

We offer 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.4

Upgrade iRedAPD (Postfix policy server) to the latest 1.7.1

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

Detailed release notes are available here.

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

Please follow this tutorial to upgrade iRedAdmin open source edition to the latest stable release: Upgrade iRedAdmin to the latest stable release

Upgrade Roundcube webmail to the latest stable release

Please follow Roundcube official tutorial to upgrade Roundcube webmail to the latest stable release immediately: How to upgrade Roundcube

Note: package rsync must be installed on your server before upgrading.

Fixed: No daily cron job to backup SQL/LDAP database

In iRedMail-0.9.3, there's no daily cron job to backup SQL/LDAP databases. Please add them manually with command crontab -e -u root.

Notes:

# iRedMail: Backup OpenLDAP data (at 03:00 AM)
0   3   *   *   *   /bin/bash ${BACKUP_SCRIPT_OPENLDAP}

# iRedMail: Backup MySQL databases (at 03:30AM)
30   3   *   *   *   /bin/bash /var/vmail/backup/backup_pgsql.sh
# iRedMail: Backup MySQL databases (at 03:30AM)
30   3   *   *   *   /bin/bash /var/vmail/backup/backup_pgsql.sh
# iRedMail: Backup PostgreSQL databases (at 03:01AM)
1   3   *   *   *   /bin/bash /var/vmail/backup/backup_pgsql.sh

FreeBSD: Fix incorrect file permission of /etc/mail/mailer.conf

This is applicable to only FreeBSD.

iRedMail generates /etc/mail/mailer.conf with permission 0600 during installation, but it should be world-readable. Please fix this issue with command below:

chmod +r /etc/mail/mailer.conf

OpenBSD: Fixed: Not open port 25 in firewall rule

This is applicable to only OpenBSD.

The sample PF firewall rule shipped in iRedMail-0.9.3 doesn't enable port 25 by default, please add service name smtp in mail_services= manually, then reload pf rules.

mail_services="{ ... smtp}"
# pfctl -d
# pfctl -ef /etc/pf.conf

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.