Attention
Check out the lightweight on-premises email archiving software developed by iRedMail team: Spider Email Archiver.
Remote Upgrade Assistance
Check out our remote upgrade support if you need assistance.
/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.6.0
Please follow below tutorial to upgrade mlmmjadmin to the latest stable release: Upgrade mlmmjadmin to the latest stable release
Please follow below tutorial to upgrade iRedAdmin to the latest stable release: Upgrade iRedAdmin to the latest stable release.
If you have netdata installed, you can upgrade it by following this tutorial: Upgrade netdata.
sogo.users to vmail databaseIn iRedMail-1.5.2 and early releases, we create SQL view users in sogo
database, it invokes PostgreSQL extension dblink to query vmail database,
this causes end users can not change passwords in SOGo webmail.
With steps below, we create SQL view sogo_users in vmail database, so that
end users can change their own passwords.
Download plain SQL file used to update SQL table:
wget -O /tmp/sogo_view.pgsql https://github.com/iredmail/iRedMail/raw/1.6.0/update/1.6.0/sogo_view.pgsql
chmod +r /tmp/sogo_view.pgsql
postgres user and import the SQL file:postgres userpgsql user_postgresql usersu - postgres
psql -d vmail < /tmp/sogo_view.pgsql
rm -f /tmp/sogo_view.pgsql
Now we need to update SOGo config file to use this new SQL view.
/etc/sogo/sogo.conf (on Linux/OpenBSD) or
/usr/local/etc/sogo/sogo.conf (on FreeBSD), find block
SOGoUserSources = () like below: SOGoUserSources = (
{
type = sql;
id = users;
viewURL = "postgresql://...@127.0.0.1:5432/sogo/users";
canAuthenticate = YES;
...
},
);
viewURL = line:sogo by vmailusers by sogo_users viewURL = "postgresql://...@127.0.0.1:5432/vmail/sogo_users";
sogod, not sogo):service memcached restart
service sogo restart
postgres user and drop old SQL view, it's not used anymore.postgres userpgsql user_postgresql usersu - postgres
psql -d sogo -c "DROP VIEW users"