[Dovecot] Add master user to userdb (to be used in SOGo)

master
andryyy 2018-12-10 23:25:37 +01:00
parent fa3525e2dd
commit 9b720bb07a
1 changed files with 11 additions and 1 deletions

View File

@ -58,6 +58,11 @@ passdb {
result_failure = continue result_failure = continue
result_internalfail = continue result_internalfail = continue
} }
passdb {
driver = passwd-file
args = /usr/local/etc/dovecot/dovecot-master.passwd
skip = authenticated
}
# Set doveadm_password=your-secret-password in data/conf/dovecot/extra.conf (create if missing) # Set doveadm_password=your-secret-password in data/conf/dovecot/extra.conf (create if missing)
service doveadm { service doveadm {
inet_listener { inet_listener {
@ -257,9 +262,14 @@ service lmtp {
listen = *,[::] listen = *,[::]
ssl_cert = </etc/ssl/mail/cert.pem ssl_cert = </etc/ssl/mail/cert.pem
ssl_key = </etc/ssl/mail/key.pem ssl_key = </etc/ssl/mail/key.pem
userdb {
driver = passwd-file
args = /usr/local/etc/dovecot/dovecot-master.userdb
}
userdb { userdb {
args = /usr/local/etc/dovecot/sql/dovecot-dict-sql-userdb.conf args = /usr/local/etc/dovecot/sql/dovecot-dict-sql-userdb.conf
driver = sql driver = sql
skip = found
} }
protocol imap { protocol imap {
imap_metadata = yes imap_metadata = yes
@ -347,4 +357,4 @@ auth_cache_negative_ttl = 0
auth_cache_ttl = 30 s auth_cache_ttl = 30 s
auth_cache_size = 2 M auth_cache_size = 2 M
!include_try /usr/local/etc/dovecot/extra.conf !include_try /usr/local/etc/dovecot/extra.conf
default_client_limit = 10240 default_client_limit = 10400