General (All backends should apply these steps)

Update /etc/iredmail-release with iRedMail version number

iRedMail stores the initial version number in /etc/iredmail-release after installation completed, 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.8.4

Add new alias 'virusalert' in Postfix for Amavisd

Amavisd will send an email notification to address "virusalert@[YOUR_HOSTNAME]" by default, but we don't have this user in Postfix alias file (/etc/postfix/aliases on Linux/OpenBSD, or /usr/local/etc/postfix/aliases on FreeBSD) or SQL/LDAP database, so emails are not delivered. Below steps add a alias in Postfix alias file, and it will be forwarded to root user by default.

Add new alias (Note, use '/usr/local/etc/postfix/aliases' on FreeBSD instead), and update the database:

Upgrade iRedAdmin (open source edition) to the latest 0.2.1

OpenLDAP backend special

Fix incorrect LDAP query filter in Postfix

If you add external email addresses as mail list members, iRedAdmin-Pro will store them in attribute memberOfGroup, this will cause exported LDIF data cannot be restored. Below are steps to fix this issue.

Use the latest LDAP schema file provided by iRedMail

To fix this issue, we need the latest LDAP schema file provided by iRedMail. Steps are:

Supports alias domains in Postfix per-user bcc lookup files

In /etc/postfix/ldap/sender_bcc_maps_user.cf, replace "(mail=%s)" by "(|(mail=%s)(&(enabledService=shadowaddress)(shadowAddress=%s)))" in parameter "query_filter =". The final LDAP filter looks like below:

MySQL backend special

Add 4 new columns used for per-user restriction

New version of iRedAPD (Postfix policy daemon) requires 4 new columns in table vmail.mailbox: allowedsenders, rejectedsenders, allowedrecipients, rejectedrecipients. They're used for per-user restriction. For example, you can now define who can send email to your local user, or your user can send email to which external domains or users.

PostgreSQL backend special

Add 4 new columns used for per-user restriction

New version of iRedAPD (Postfix policy daemon) requires 4 new columns in table vmail.mailbox: allowedsenders, rejectedsenders, allowedrecipients, rejectedrecipients. They're used for per-user restriction. For example, you can now define who can send email to your local user, or your user can send email to which external domains or users.