sasldb Authentification failed
christian bossk holle
holle at ifj.fb15.uni-dortmund.de
Wed May 10 11:17:56 EDT 2006
Hi,
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
pwcheck_method: auxprop
log_level: 3
mech_list: PLAIN
auxprop_plugin: sasldb2
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 at foo.de: cmusaslsecretOTP
bar at foo.de: userPassword
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 at foo.de\0bar at foo.de\0password' | mmencode
In the maillog I see the following error
warning: SASL authentication failure: Password verification failed
warning: unknown[XXX.XXX.XXX.XXX]: SASL PLAIN authentication failed
And that's the problem. I really don't know what's the problem or I just can't see the error, maybe I'm blind ;)
Can someone help me?
bossk
--
bossk
Christian Holle
Administrator holle at ifj.fb15.uni-dortmund.de
Institut fuer Journalistik Tel. +49 231 755-5895
Universitaet Dortmund Fax. +49 231 755-4131
Emil-Figge-Str. 50 GPG-Key DE149CE7
D-44227 Dortmund
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : https://lists.andrew.cmu.edu/mailman/private/cyrus-sasl/attachments/20060510/abdf86bf/attachment.bin
More information about the Cyrus-sasl
mailing list