sasldb Authentification failed

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

 



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@xxxxxx: cmusaslsecretOTP
bar@xxxxxx: 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@xxxxxx\0bar@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@xxxxxxxxxxxxxxxxxxxxxxxx
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		

Attachment: pgpjRLxG7TxKq.pgp
Description: PGP signature


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

  Powered by Linux