Hi I'm trying to change my SASL auth from Cyrus to Dovecot.
I have Dovecot all set up - it's authenticating IMAP users and postfix is using dovecot-lda to deliver mail, but when I changes main.cf to use Dovecot SMTP Auth wasn't working. After a few hours of fruitless searching I finally thought I had the issue - turning the postfix logging way up says that cyrus is still being called for the auth May 3 17:56:52 jonty postfix/smtpd[22116]: Anonymous TLS connection established from unknown[192.168.1.4]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits) May 3 17:56:52 jonty postfix/smtpd[22116]: xsasl_cyrus_server_create: SASL service=smtp, realm=(null) May 3 17:56:52 jonty postfix/smtpd[22116]: name_mask: noanonymous May 3 17:57:15 jonty postfix/smtpd[22116]: < unknown[192.168.1.4]: ehlo localhost May 3 17:57:15 jonty postfix/smtpd[22116]: > unknown[192.168.1.4]: 250-mail.spamfreeisp.net May 3 17:57:15 jonty postfix/smtpd[22116]: > unknown[192.168.1.4]: 250-PIPELINING May 3 17:57:15 jonty postfix/smtpd[22116]: > unknown[192.168.1.4]: 250-SIZE 20480000 May 3 17:57:15 jonty postfix/smtpd[22116]: > unknown[192.168.1.4]: 250-ETRN May 3 17:57:15 jonty postfix/smtpd[22116]: > unknown[192.168.1.4]: 250-AUTH LOGIN CRAM-MD5 DIGEST-MD5 PLAIN NTLM May 3 17:57:15 jonty postfix/smtpd[22116]: match_list_match: unknown: no match May 3 17:57:15 jonty postfix/smtpd[22116]: match_list_match: 192.168.1.4: no match May 3 17:57:15 jonty postfix/smtpd[22116]: > unknown[192.168.1.4]: 250-AUTH=LOGIN CRAM-MD5 DIGEST-MD5 PLAIN NTLM May 3 17:57:15 jonty postfix/smtpd[22116]: > unknown[192.168.1.4]: 250-ENHANCEDSTATUSCODES May 3 17:57:15 jonty postfix/smtpd[22116]: > unknown[192.168.1.4]: 250-8BITMIME May 3 17:57:15 jonty postfix/smtpd[22116]: > unknown[192.168.1.4]: 250 DSN May 3 17:57:33 jonty postfix/smtpd[22116]: < unknown[192.168.1.4]: auth plain AHRlc3QAdGVzdHBhc3M= May 3 17:57:33 jonty postfix/smtpd[22116]: xsasl_cyrus_server_first: sasl_method plain, init_response AHRlc3QAdGVzdHBhc3M= May 3 17:57:33 jonty postfix/smtpd[22116]: xsasl_cyrus_server_first: decoded initial response testuser Now, I've reloaded postfix after I made the following changes: smtp_sasl_type = dovecot smtpd_sasl_path = private/auth In fact, I stopped and restarted it too - and still it doesn't appear to hand-over to Dovecot for the auth. socket listen { master { path = /var/run/dovecot/auth-master mode = 0600 user = mailsystem group = mailsystem } client { path = /var/spool/postfix/private/auth mode = 0660 user = postfix group = mailsystem } } ls /var/spool/postfix/private/auth srw-rw---- 1 postfix mailsystem 0 May 3 18:49 /var/spool/postfix/private/auth postconf -a cyrus dovecot My gut feeling is that this is not a postfix issue - but confirmation of that would be useful. Or even a hint on how to confirm that (at which point someone will probably point out some type or something). Thanks. Simon