Enable dovecot master users.

see #96
This commit is contained in:
Antoine Nguyen
2017-02-01 17:58:56 +01:00
parent 9f5767a141
commit 7d13debf55
5 changed files with 287 additions and 2 deletions

View File

@@ -54,7 +54,7 @@
# support for it), you can specify the separator character here. The format
# is then <username><separator><master username>. UW-IMAP uses "*" as the
# separator, so that could be a good choice.
#auth_master_user_separator =
auth_master_user_separator = *
# Username to use for users logging in with ANONYMOUS SASL mechanism
#auth_anonymous_username = anonymous

View File

@@ -9,6 +9,13 @@ passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
}
passdb {
driver = sql
args = /etc/dovecot/dovecot-sql-master.conf.ext
master = yes
pass = yes
}
# "prefetch" user database means that the passdb already provided the
# needed information and there's no need to do a separate userdb lookup.
# <doc/wiki/UserDatabase.Prefetch.txt>