I configured postfix to use SASL to authenticate via dovecot. Pop3 authenticates fine. SMTP does not. I get this in the log file "fatal: no SASL authentication mechanisms"
These are the facts and how I validated.
Postfix has support for dovecot sasl:
postconf -a returns "dovecot" and "cyrus"
Dovecot creates the auth file for postfix:
I removed the auth file and restarted dovecot. auth is recreated
Postfix is looking at the same auth file that dovecot created:
I stopped postfix and dovecot, removed the auth file and started postfix. Postfix logs "warning: SASL: Connect to private/auth failed: No such file or directory"
Postfix is configured for sasl in main.cf:
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_authenticated_header = yes
auth's mode is correct:
Results of ls -l /var/spool/postfix/private/auth
srw-rw---- 1 postfix postfix 0 2008-12-29 19:20 auth
Dovecot configuration:
client {
# Assuming the default Postfix $queue_directory setting
path = /var/spool/postfix/private/auth
mode = 0660
# Assuming the default Postfix user and group
user = postfix
group = postfix
}
I need to narrow down where the problem is. Right now it looks like a problem with postfix.
HOW DO I TROUBLESHOOT THIS?
Is there a way to open the auth socket and validate dovecot is exposing the socket correctly? Are there other configurations I should check?
Thanks,
Tim



Adv Reply



Bookmarks