From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 27 Jan 2006 13:38:32 +0300 From: rt To: ALT Linux Sisyphus discussion list Message-ID: <20060127133832.5355cad9@localhost.localdomain> Organization: Aspirinka Inc. X-Mailer: Sylpheed-Claws 1.9.15cvs14 (GTK+ 2.8.3; i586-alt-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Subject: [sisyphus] postfix+sasl+ldap X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 10:38:08 -0000 Archived-At: List-Archive: List-Post: Здравствуйте! Есть настроенный openldap и postfix, который через него работает. Хочу прикрутить smtp-авторизацию: Настроил saslauthd на авторизацию в ldap, проверяю: testsaslauthd -u test@example.org -p 123 0: OK "Success." далее в /etc/sasl2/smtpd.conf: pwcheck_method: saslauthd в /etc/postfix/main.cf: smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtp_sasl_password_maps = /etc/sasl2/smtpd.conf smtpd_sasl_application_name = smtpd Но при попытке отправить почту получаю в логах: Jan 27 13:31:03 mta postfix/smtpd[4676]: TLS connection established from unknown[192.168.13.10]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits) Jan 27 13:31:03 mta postfix/smtpd[4676]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasl2/sasldb2: No such file or directory Jan 27 13:31:03 mta postfix/smtpd[4676]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasl2/sasldb2: No such file or directory Jan 27 13:31:03 mta postfix/smtpd[4676]: warning: SASL authentication failure: Password verification failed Jan 27 13:31:03 mtapostfix/smtpd[4676]: warning: unknown[192.168.13.10]: SASL PLAIN authentication failed Почему postfix лезет в sasldb, если ему сказано авторизовываться у saslauthd?