Dovecot to stop using PAM auth
This commit is contained in:
@@ -13,6 +13,16 @@ mail_uid = mail
|
||||
mail_gid = mail
|
||||
mail_home = /var/spool/mail/%{user | domain}/%{user | username}
|
||||
|
||||
# Override system auth from dovecot.conf so it quietly fails without triggering PAM logs
|
||||
passdb pam {
|
||||
driver = passwd-file
|
||||
passwd_file_path = /dev/null
|
||||
}
|
||||
userdb passwd {
|
||||
driver = passwd-file
|
||||
passwd_file_path = /dev/null
|
||||
}
|
||||
|
||||
passdb passwd-file {
|
||||
driver = passwd-file
|
||||
passwd_file_path = /etc/dovecot/accounts
|
||||
|
||||
Reference in New Issue
Block a user