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.
/etc/iredmail-release
with new iRedMail version numberiRedMail 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.4.0
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
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.
Please follow below tutorial to upgrade mlmmjadmin to the latest stable release: Upgrade mlmmjadmin to the latest stable release
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.
Please follow Roundcube official tutorial to upgrade Roundcube webmail to the latest stable release:
If you have netdata installed, you can upgrade it by following this tutorial: Upgrade netdata.
/usr/local/bin/fail2ban_banned_db
Script /usr/local/bin/fail2ban_banned_db
shipped in iRedMail-1.3.2 and
earlier releases have few issues:
Please run command below as root user to get latest script with both issues fixed:
wget -O /usr/local/bin/fail2ban_banned_db \
https://github.com/iredmail/iRedMail/raw/1.4.0/samples/fail2ban/bin/fail2ban_banned_db
Restarting fail2ban
service is required.
Please prepend these lines in /etc/postfix/helo_access.pcre
(Linux/OpenBSD)
or /usr/local/etc/postfix/helo_access.pcre
(FreeBSD) to whitelist few big
companies' HELO hostnames, they may not have DNS records which causes Postfix
rejects them:
/^\d{1,3}-\d{1,3}-\d{1,3}-\d{1,3}\.mail-(mail|campmail)\.facebook\.com$/ OK
/^outbound-\d{1,3}-\d{1,3}-\d{1,3}-\d{1,3}\.pinterestmail\.com$/ OK
/\.outbound\.protection\.outlook\.com$/ OK
iRedMail-1.4.0 introduces 2 new LDAP attributes for subscribeable mailing list:
listModerator
: used to store moderators' email address of mailing list.listOwner
: used to store owners' email address of mailing list.With these new attributes, if self-service is enabled in iRedAdmin-Pro, mailing list owner is able to login to iRedAdmin-Pro and manage profile and members of owned mailing lists.
Download the latest iRedMail LDAP schema file
wget -O /tmp/iredmail.schema https://github.com/iredmail/iRedMail/raw/1.4.0/samples/iredmail/iredmail.schema
mv /etc/openldap/schema/iredmail.schema{,.bak}
cp -f /tmp/iredmail.schema /etc/openldap/schema/
service slapd restart
wget -O /tmp/iredmail.schema https://github.com/iredmail/iRedMail/raw/1.4.0/samples/iredmail/iredmail.schema
mv /etc/ldap/schema/iredmail.schema{,.bak}
cp -f /tmp/iredmail.schema /etc/ldap/schema/
service slapd restart
wget -O /tmp/iredmail.schema https://github.com/iredmail/iRedMail/raw/1.4.0/samples/iredmail/iredmail.schema
mv /usr/local/etc/openldap/schema/iredmail.schema{,.bak}
cp -f /tmp/iredmail.schema /usr/local/etc/openldap/schema/
service slapd restart
On OpenBSD:
Note: if you're running ldapd as LDAP server, the schema directory is
/etc/ldap
, and service name isldapd
.
cd /tmp
ftp https://github.com/iredmail/iRedMail/raw/1.4.0/samples/iredmail/iredmail.schema
mv /etc/openldap/schema/iredmail.schema{,.bak}
cp -f /tmp/iredmail.schema /etc/openldap/schema/
rcctl restart slapd
vmail.maillist_owners
and drop 4 unused columnsvmail.maillist_owners
is used to store owners' email addresses
of subscribeable mailing lists. With this new table, if self-service is enabled
in iRedAdmin-Pro, mailing list owner is able to login to iRedAdmin-Pro and
manage profile and members of owned mailing lists.vmail.mailbox
are not used anymore, it's safe to
drop them now:allowedsenders
rejectedsenders
allowedrecipients
rejectedrecipients
Download plain SQL file used to apply changes, then import it directly as
MySQL root user (Please run commands below as root
user):
wget -O /tmp/iredmail.mysql https://github.com/iredmail/iRedMail/raw/1.4.0/update/1.4.0/iredmail.mysql
mysql vmail < /tmp/iredmail.mysql
rm -f /tmp/iredmail.mysql
vmail.maillist_owners
and drop 4 unused columnsvmail.maillist_owners
is used to store owners' email addresses
of subscribeable mailing lists. With this new table, if self-service is enabled
in iRedAdmin-Pro, mailing list owner is able to login to iRedAdmin-Pro and
manage profile and members of owned mailing lists.vmail.mailbox
are not used anymore, it's safe to
drop them now:allowedsenders
rejectedsenders
allowedrecipients
rejectedrecipients
Download plain SQL file used to apply changes:
wget -O /tmp/iredmail.pgsql https://github.com/iredmail/iRedMail/raw/1.4.0/update/1.4.0/iredmail.pgsql
chmod +r /tmp/iredmail.pgsql
postgres
user and import the SQL file:postgres
userpgsql
user_postgresql
usersu - postgres
psql -d vmail < /tmp/iredmail.pgsql
psql -d vmail -c "ALTER TABLE maillist_owners OWNER TO vmailadmin;"
rm -f /tmp/iredmail.pgsql