From 0f155024035a50bb8def28aa5e48413532220e4f Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Fri, 31 Jul 2015 22:02:32 +0800 Subject: [PATCH] Sync upgrade tutorial for iRedMail-0.9.3. --- en_US/howto/dovecot.master.user.md | 4 ++++ .../upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md | 23 +++++++++++++++++++ html/dovecot.master.user.html | 4 ++++ html/upgrade.iredmail.0.9.2-0.9.3.html | 23 +++++++++++++++++++ 4 files changed, 54 insertions(+) diff --git a/en_US/howto/dovecot.master.user.md b/en_US/howto/dovecot.master.user.md index 288a318f..a9c377e7 100644 --- a/en_US/howto/dovecot.master.user.md +++ b/en_US/howto/dovecot.master.user.md @@ -49,3 +49,7 @@ topic in our forum and paste related log: * [Debug Dovecot](./debug.dovecot.html) * [iRedMail online support forum](http://www.iredmail.org/forum/) + +## References + +* Dovecot wiki: [Master users/passwords](http://wiki2.dovecot.org/Authentication/MasterUsers) diff --git a/en_US/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md b/en_US/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md index 78b5d00f..a52b857e 100644 --- a/en_US/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md +++ b/en_US/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md @@ -222,6 +222,29 @@ dovecot unix - n n - - pipe ## OpenLDAP backend special +### Fixed: Dovecot Master User doesn't work with ACL plugin + +iRedMail has both Dovecot Master User and Dovecot `acl` plugin enabled by +default, if `acl` plugin is enabled, the Master User is still subject to ACLs +just like any other user, which means that by default the Master User has no +access to any mailboxes of the user. Please fix this issue by following steps +below. + +* Open file `/etc/dovecot/dovecot-ldap.conf` (Linux/OpenBSD) or + `/usr/local/etc/dovecot/dovecot-ldap.conf` (FreeBSD), find below line: + +``` +user_attrs = mail=user, ... +``` + +* Add new setting `mail=master_user` in `user_attrs` like below: + +``` +user_attrs = mail=master_user,mail=user, ... +``` + +* Restart Dovecot service. + ### Add new SQL table `outbound_wblist` in `amavisd` database We need a new SQL table `outbound_wblist` in `amavisd` database, it's used diff --git a/html/dovecot.master.user.html b/html/dovecot.master.user.html index b85aa7a8..d2b6e873 100644 --- a/html/dovecot.master.user.html +++ b/html/dovecot.master.user.html @@ -52,6 +52,10 @@ topic in our forum and paste related log:

+

References

+

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