Sirs,
I have a problem with dovecot not starting.
here is the log: Log Nov 10 10:28:52 www postfix/smtps/smtpd[]: warning: SASL: Connect to Dovecot auth socket '/var/run/dovecot/auth-client' failed: Permission denied Nov 10 10:28:52 www postfix/smtps/smtpd[]: fatal: no SASL authentication mechanisms
srw-------. 1 dovecot root 0 Nov 9 12:52 /var/run/dovecot/auth-client <--- Why is Postfix not allowed to access this socket? Note: this socket is correctly permissioned per another working mail server.
I have changed the permissions to allow postfix access, and dovecot does start properly. As soon as it restarts, goes back to the correct, non-working way. I can find no reference to that socket being created in the dovecot.conf file.
Thanks,
Will Lowe
Nov 10 10:28:52 www postfix/smtps/smtpd[]: warning: SASL: Connect to Dovecot auth socket '/var/run/dovecot/auth-client' failed: Permission denied Nov 10 10:28:52 www postfix/smtps/smtpd[]: fatal: no SASL authentication mechanisms I have changed the permissions to allow postfix access, and dovecot does start properly. As soon as it restarts, goes back to the correct, non-working way. I can find no reference to that socket being created in the dovecot.conf file.
The default many use for creating the AUTH socket is:
service auth { unix_listener /var/spool/postfix/private/auth { mode = 0660 user = postfix group = postfix } }
It looks like your postfix is being pointed at /var/run/dovecot/auth-client instead. Maybe that is where you told dovecot to create the SASL AUTH socket, or maybe postfix is knocking on the wrong door. Your dovecot config would have to be consulted to know for sure.
srw-------. 1 dovecot root 0 Nov 9 12:52 /var/run/dovecot/auth-client <--- Why is Postfix not allowed to access this socket?
Because that socket is owned by dovecot:root, which postfix is not.
participants (2)
-
dovecot@ptld.com
-
W M Lowe