From: rt <rt@aspirinka.net>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: [sisyphus] postfix+sasl+ldap
Date: Fri, 27 Jan 2006 13:38:32 +0300
Message-ID: <20060127133832.5355cad9@localhost.localdomain> (raw)
Здравствуйте!
Есть настроенный 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?
next reply other threads:[~2006-01-27 10:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-27 10:38 rt [this message]
2006-01-27 11:16 ` Epiphanov Sergei
2006-01-27 11:20 ` Anton Gorlov
2006-01-27 11:35 ` Epiphanov Sergei
2006-01-27 11:35 ` Anton Gorlov
2006-01-27 11:48 ` Евгений Данильченко
2006-01-27 11:54 ` Epiphanov Sergei
2006-01-27 12:11 ` Anton Gorlov
2006-01-27 12:20 ` Epiphanov Sergei
2006-01-27 12:26 ` Anton Gorlov
2006-01-27 11:52 ` rt
2006-01-27 12:51 ` Vladimir V. Kamarzin
2006-01-27 15:44 ` rt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060127133832.5355cad9@localhost.localdomain \
--to=rt@aspirinka.net \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git