[Dovecot] Problem with Dovecot SASL in Postfix

Chris McMacken chris.mcmacken at gmail.com
Mon Jul 16 23:38:08 EEST 2007


dovecot: Jul 16 15:36:51 Info: auth(default): client in: AUTH   1
 CRAM-MD5        service=smtp
dovecot: Jul 16 15:36:51 Info: auth(default): client out: CONT  1
 PDgyMTc0MTAxNjMzNDQ5MTEuMTE4NDYxODIxMUBtYWlsPg==
dovecot: Jul 16 15:36:51 Info: auth(default): client in: CONT   1
 Y2hyaXNtQHJ1cmFsdGVjaGluYy5jb20gYzQ0M2QyZTNkZjkxY2I1MGUxOGY5NDU3ZGI2MmUyNWE=
dovecot: Jul 16 15:36:51 Info: auth(default):
passwd-file(chrism at ruraltechinc.com): lookup: user=chrism
file=/usr/local/etc/dovecot/ruraltechinc.com/passwd
dovecot: Jul 16 15:36:51 Info: auth(default):
password(chrism at ruraltechinc.com): Credentials:
a67a65704086a046b3f2875d1e8daac8cb5c6fd13406507fead30d9bcb1bf82b
dovecot: Jul 16 15:36:51 Info: auth(default): client out: OK    1
 user=chrism at ruraltechinc.com


heres the dovecot logs with auth_debug_passwords = yes
it looks like the auth is ok, so its a postfix configuration issue

On 7/12/07, Timo Sirainen <tss at iki.fi> wrote:
> On Thu, 2007-07-12 at 10:52 -0500, Chris McMacken wrote:
> > and to login through SASL I am trying to use the username
> > chrism at example.com when I use the full email address like this to
> > login like this I get this output into my postfix log:
>
> Postfix's logs aren't very useful. Set auth_debug_passwords=yes in
> dovecot.conf and look at Dovecot's logs.
>
> > Jul 10 18:46:59 mail postfix/smtpd[57343]: connect from unknown[12.244.148.123]
> > Jul 10 18:46:59 mail postfix/smtpd[57343]: NOQUEUE: reject: RCPT from
> > unknown[12.244.148.123]: 554 5.7.1 <chrism at gmail.com>: Relay access
> > denied; from=<chrism at example.com> to=<chrism at gmail.com> proto=ESMTP
> > helo=<[192.168.1.14]>
> > Jul 10 18:47:00 mail postfix/smtpd[57343]: disconnect from
> > unknown[12.244.148.123]
> ..
> > Jul 10 18:50:36 mail postfix/smtpd[57356]: connect from unknown[12.244.148.123]
> > Jul 10 18:50:38 mail postfix/smtpd[57356]: warning:
> > unknown[12.244.148.123]: SASL CRAM-MD5 authentication failed:
> > PDI3NjU4MTE4NDExMTQzN0BtYWlsPg==
>
> If the first session really got authenticated successfully (auth_debug
> shows that too), then it's a Postfix configuration problem.
>
>
>


More information about the dovecot mailing list