Dovecot to stop using PAM auth

This commit is contained in:
2026-08-10 21:07:06 -05:00
parent e6daee8d1e
commit 3ecdc2af16
3 changed files with 21 additions and 1 deletions
@@ -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