From: Alex Dehnert Date: Mon, 11 Mar 2019 07:49:38 +0000 (+0000) Subject: Use a single user for accounts on replica server X-Git-Url: https://dehnerts.com/gitweb/?a=commitdiff_plain;h=56958b7d46470eafc27acc9ea44237052fce2b27;p=sysconfig%2Fdovecot.git Use a single user for accounts on replica server --- diff --git a/conf.d/10-auth.conf b/conf.d/10-auth.conf index 16a0d75..f43fc83 100644 --- a/conf.d/10-auth.conf +++ b/conf.d/10-auth.conf @@ -119,10 +119,10 @@ auth_mechanisms = plain login gssapi #!include auth-deny.conf.ext #!include auth-master.conf.ext -!include auth-system.conf.ext +#!include auth-system.conf.ext #!include auth-sql.conf.ext #!include auth-ldap.conf.ext !include auth-passwdfile.conf.ext #!include auth-checkpassword.conf.ext #!include auth-vpopmail.conf.ext -#!include auth-static.conf.ext +!include auth-static.conf.ext diff --git a/conf.d/auth-static.conf.ext b/conf.d/auth-static.conf.ext index 90890c5..911e6f3 100644 --- a/conf.d/auth-static.conf.ext +++ b/conf.d/auth-static.conf.ext @@ -18,7 +18,7 @@ # args = password=test #} -#userdb { -# driver = static -# args = uid=vmail gid=vmail home=/home/%u -#} +userdb { + driver = static + args = uid=dovecot-vmail gid=dovecot-vmail home=/var/mail/virtual/%u +}