[Dovecot] Dovecot/Postfix SASL problem

Gerard Seibert gerard at seibercom.net
Wed Nov 15 11:11:03 UTC 2006


On Tuesday November 14, 2006 at 04:27:25 (PM) Tomislav Filipèiæ wrote:

> Hi. I'm trying to get Dovecot - Postfix - SASL to work. But I need some help.
> 
> Dovecot v1.0.rc14
> Postfix 2.3.4
> 
> dovecot.conf
> ----------------
> auth default {
>   mechanisms = plain login
> 
>   passdb pam {
>   }
>   passdb passwd {
>   }
> 
>   socket listen {
>     client {
>       path = /var/spool/postfix/private/auth
>       mode = 0660
>       user = postfix
>       group = postfix
>     }
>   }
> }
> 
> postfix/main.cf
> ------------------
> smtpd_sasl_auth_enable = yes
> 
> smtpd_recipient_restrictions =
>     permit_mynetworks,
>     permit_sasl_authenticated,
>     reject_unauth_destination
> 
> broken_sasl_auth_clients = yes
> smtpd_sasl_type = dovecot
> smtpd_sasl_path = private/auth
> smtpd_sasl_authenticated_header = yes
> 
> 
> telnet test session
> -----------------------
> orion:~ tomislav$ telnet ra.mahune.org 25
> Trying 63.99.9.80...
> Connected to ra.mahune.org.
> Escape character is '^]'.
> 220 ra.mahune.org ESMTP Postfix
> EHLO ra.mahune.org
> 250-ra.mahune.org
> 250-PIPELINING
> 250-SIZE 10240000
> 250-VRFY
> 250-ETRN
> 250-AUTH PLAIN LOGIN
> 250-AUTH=PLAIN LOGIN
> 250-ENHANCEDSTATUSCODES
> 250-8BITMIME
> 250 DSN
> AUTH PLAIN bmFddAc0b2pvAHRvam8=
> 535 5.7.0 Error: authentication failed:
> 
> mail logs:
> -------------
> Nov 14 22:21:38 [postfix/smtpd] connect from 
> 83-131-68-11.adsl.net.t-com.hr[83.131.68.11]
> Nov 14 22:22:24 [dovecot] auth(default): client in: 
> AUTH_1_PLAIN_service=smtp_resp=bmFddAc0b2pvAHRvam8=
> Nov 14 22:22:24 [dovecot] auth(default): passdb(najt,master): Attempted 
> master login with no master passdbs
> Nov 14 22:22:25 [dovecot] auth(default): client out: FAIL_1_user=tojo
> Nov 14 22:22:25 [postfix/smtpd] warning: 
> 83-131-68-11.adsl.net.t-com.hr[83.131.68.11]: SASL PLAIN authentication 
> failed:
> 
You might want to post this on the Postfix forum:

     List-Subscribe: <mailto:majordomo at postfix.org>

This is really a Postfix, not a Dovecot problem. By the way, I use SASL
- Dovcot - Postfix without any problems. My main.cf file does not
resemble yours however. At the very least, you should have posted the
output of 'postconf -n' so we could see exactly what you are referring
to. The Postfix forum will require that at a minimum. It would also be a
good idea to list the OS that you are working with. I am only familiar
with FreeBSD myself.

Good luck!

-- 
Gerard

     And always remember, when life hands you lemons, ask for tequila
     and salt.


More information about the dovecot mailing list