From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 24 Nov 2007 21:36:48 +0500 From: Igor Solovyov To: sysadmins@lists.altlinux.org Message-Id: <20071124213648.3e94cac4.gosha@anti.su> Organization: JSC "ANTi" X-Mailer: Sylpheed 2.4.5 (GTK+ 2.12.0; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Subject: [Sysadmins] Help: SASL authentication failure: no secret in database X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux sysadmin discuss List-Id: ALT Linux sysadmin discuss List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2007 16:36:49 -0000 Archived-At: List-Archive: Никак не могу справиться вот с такой проблемой: # 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