* [Comm] Вечная проблема со связкой Postfix+SASL2
@ 2004-03-22 8:04 Granit
0 siblings, 0 replies; only message in thread
From: Granit @ 2004-03-22 8:04 UTC (permalink / raw)
To: ALT-community
Всем привет!
Ломаю голову над следующей проблемой:
На шлюзе у меня организовано почтовое реле на postfix-2.0.16-alt0.1,
плюс postfix-smtpd-sasl и cyrus-sasl2-2.1.17-alt3.
Сам почтовик исправно работает, но только не когда дело доходит до
авторизации пользователей, которые хотят отправить почту из дома. Короче
говоря аторизовывать система отказывыается.
Обнаружил я это найденным в инете тестовым скриптом test-sasl.sh
Trying 127.0.0.1...
Connected to router-2.rrnn.ru.
Escape character is '^]'.
220 router-2.rrnn.ru ESMTP Postfix
EHLO rrnn.ru
250-router-2.rrnn.ru
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-XVERP
250 8BITMIME
AUTH PLAIN Y29vbDYAY29vbDYAY29vbDY=
535 Error: authentication failed
QUIT
221 Bye
Connection closed by foreign host.
#
Test NG. Check your setting.
///////////////////////////////////////////////////
Смотрю логи - /var/log/syslog/messages
Mar 15 10:30:31 router-2 saslpasswd2: setpass succeeded for cool6
Mar 15 10:30:31 router-2 saslpasswd2: OTP: set secret for cool6
Mar 15 10:30:31 router-2 saslpasswd2: error deleting entry from sasldb:
DB_NOTFOUND: No matching key/data pair found
#Это я так понимаю идёт ругань при заведении пользователя:(
/var/log/mail/warnings
Mar 15 11:03:09 router-2 postfix/smtpd-sasl[29769]: warning: SASL
authentication problem: unknown password verifier
Mar 15 11:03:09 router-2 postfix/smtpd-sasl[29769]: warning: SASL
authentication failure: Password verification failed
#Ну а это - при попытке найти пользователя с паролем в sasldb2.
Сам почтовик ставил из Дедалуса, а вот cyrus-sasl2 из Сизифа, всё из
rpm-ок.
Естественно, перечитал, в рассылке всё, что было на эту тему, но
проблему это не решило.
Мысля у меня, про Bercley Db, но точно не знаю:(
Если не сложно, то напишите, куда какие библиотеки и файлы конфов надо
переносить, я то вроде всё перенёс - но это так - для проверки.
Спасибо.
На всякий пожарный - ICQ#33311650.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-03-22 8:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-22 8:04 [Comm] Вечная проблема со связкой Postfix+SASL2 Granit
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git