pam authentication error?

at lbutlr at lbutlr
Mon May 27 23:18:46 EEST 2019


Getting this:

auth-worker(5045): Error: pam(kremels,xxx.xxx.xxx.xxx: pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?)

# cat /etc/pam.d/dovcot 
auth    required        pam_unix.so nullok
account required        pam_unix.so

(file was last updated in April of 2018)

passdb {
 username_filter = "!*@*"
 driver = pam
}
userdb {
 driver = passwd
}

service auth {
 unix_listener auth-userdb {
 }

 unix_listener /var/spool/postfix/private/auth {
   mode = 0666
 }
}

# ls -ls /var/spool/postfix/private/auth 
0 srw-rw-rw-  1 root  wheel  0 May 27 13:57 /var/spool/postfix/private/auth

postfix/main.cf:
smtpd_sasl_authenticated_header = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_starttls_timeout = 20s
smtpd_tls_cert_file = /usr/local/etc/dehydrated/certs/covisp.net/fullchain.pem
smtpd_tls_key_file = /usr/local/etc/dehydrated/certs/covisp.net/privkey.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may

16 -rw-------  1 root  443  4152 May 20 21:08 fullchain-1558408117.pem
0 lrwx------  1 root  443    24 May 20 21:08 fullchain.pem -> fullchain-1558408117.pem
8 -rw-------  1 root  443  3243 May 20 21:08 privkey-1558408117.pem
0 lrwx------  1 root  443    22 May 20 21:08 privkey.pem -> privkey-1558408117.pem



More information about the dovecot mailing list