From 56958b7d46470eafc27acc9ea44237052fce2b27 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Mon, 11 Mar 2019 07:49:38 +0000 Subject: [PATCH] Use a single user for accounts on replica server --- conf.d/10-auth.conf | 4 ++-- conf.d/auth-static.conf.ext | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) 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 +} -- 2.34.1