[Dovecot] Dovecot/Postfix SASL problem

Tomislav Filipčić tomislav at filipcic.com
Tue Nov 14 21:27:25 UTC 2006


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:




Any ideas? Thank you




More information about the dovecot mailing list