[Sysadmins] Help: SASL authentication failure: no secret in database

Igor Solovyov =?iso-8859-1?q?gosha_=CE=C1_anti=2Esu?=
Сб Ноя 24 19:36:48 MSK 2007


Никак не могу справиться вот с такой проблемой:

# postconf -n | grep smtpd_sasl

smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous

в smtpd.conf прописано:

pwcheck_method: saslauthd
mech_list: LOGIN PLAIN

настройки saslauthd:

MECHANISMS="sasldb pam"
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd"

таблица sasldb2 лежит в /var/spool/postfix/etc

делаю локально:
testsaslauthd -u имя -p пароль \
-f /var/spool/postfix/var/run/saslauthd/mux
0: OK "Success."

Пытаюсь отправить письмо снаружи:

connect from unknown [217.19.xxx.xxx]
setting up TLS connection from unknown[217.19.xxx.xxx] 
SSL_accept:before/accept initialization
SSL_accept:error in SSLv2/v3 read client hello A
SSL_accept:error in SSLv2/v3 read client hello B
SSL_accept:SSLv3 read client hello
SSL_accept:SSLv3 write server
SSL_accept:SSLv3 write certificate
SSL_accept:SSLv3 write key exchange
SSL_accept:SSLv3 flush
SSL_accept:error in SSLv3 read client certificate
SSL_accept:SSLv3 read client key exchange
SSL_accept:error in SSLv3 read certificate
SSL_accept:SSLv3 read finished A
SSL_accept:SSLv3 write change cipher spec
SSL_accept:SSLv3 write finished
SL_accept:SSLv3 flush data
save session
CFD8360930A25BE45EDE6718E554F8639C3965315DBDA69D990D907B6F446694&s=smtps
to smtpd cache
put smtpd session
id=CFD8360930A25BE45EDE6718E554F8639C3965315DBDA69D990D907B6F446694&s=smtps
[data 127 bytes]
write smtpd TLS cache entry
CFD8360930A25BE45EDE6718E554F8639C3965315DBDA69D990D907B6F446694&s=smtps:
time=1195920768 [data 127 bytes]
TLS connection established from unknown[217.19.xxx.xxx]: TLSv1
with cipher DHE-RSA-AES256-SHA (256/256 bits)
warning: SASL authentication failure: no secret in database
warning: unknown [217.19.xxx.xxx]: SASL CRAM-MD5 authentication failed:
authentication failure
lost connection after AUTH from unknown [217.19.xxx.xxx]
disconnect from unknown [217.19.xxx.xxx]

Не пойму почему "no secret in database"? 
Вроде sasldblistusers2 кажет, что:

имя@мой.домен: userPassword

В общем прошу помощи. :-)


-- 
Best Regars!
Igor Solovyov



Подробная информация о списке рассылки Sysadmins