Re: sasldb Authentification failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Wednesday 10 May 2006 17:17 schrieb christian bossk holle:

> I have a problem with POSTFIX and SASL. I read a lot of docus and howtos,
> but I still can't find the error. Perhabs someone could help me, it would
> be great.
>
> First I will paste my config-files
>
> /usr/local/lib/sasl2/smtpd.conf

Are you sure /usr/local/.. is ok?

> pwcheck_method: auxprop

> log_level: 3

This is needless.

> mech_list: PLAIN
> auxprop_plugin: sasldb2

It is called "sasldb"

> sasldb_path: /etc/sasldb2.db
>
> /etc/postfix/main.cf
> smtpd_sasl_auth_enable = yes
> smtpd_sasl2_auth_enable = yes
> smtpd_sasl_security_options = noanonymous
> smtpd_sasl_local_domain = foo.de
> smtpd_sasl_application_name = smtpd
>
> I have created a user with
> /usr/local/sbin/saslpasswd2 -c -u foo.de bar
>
> /usr/local/sbin/sasldblistusers2
> bar@xxxxxx: cmusaslsecretOTP
> bar@xxxxxx: userPassword

Username is: bar
Realm (smtpd_sasl_local_domain) : foo.de

> So far it looks okay.
>
> Now I try to authenticate myself
> telnet mail.foo.de
> Trying XXX.XXX.XXX.XXX...
> Connected to mail.foo.de.
> Escape character is '^]'.
> 220 mail.foo.de ESMTP Postfix
> ehlo example.de
> 250-mail.foo.de
> 250-PIPELINING
> 250-SIZE 10240000
> 250-VRFY
> 250-ETRN
> 250-AUTH PLAIN
> 250 8BITMIME
> AUTH PLAIN YmFyQGZvby5kZQBiYXJAZm9vLmRlAHBhc3N3b3Jk
> 535 Error: authentication failed
> quit
> 221 Bye
>
> I made the 'secret' with
> printf 'bar@xxxxxx\0bar@foo.de\0password' | mmencode

Use "bar" as Username.

-- 
	Andreas

[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux