ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] postfix+sasl+ldap
@ 2006-01-27 10:38 rt
  2006-01-27 11:16 ` Epiphanov Sergei
  2006-01-27 12:51 ` Vladimir V. Kamarzin
  0 siblings, 2 replies; 13+ messages in thread
From: rt @ 2006-01-27 10:38 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Здравствуйте!

Есть настроенный 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?


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-01-27 15:44 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-27 10:38 [sisyphus] postfix+sasl+ldap rt
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

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