ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] и опять postfix+sasl
@ 2003-01-19 15:57 Fred
  2003-01-19 16:04 ` Герасимов Дмитрий
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Fred @ 2003-01-19 15:57 UTC (permalink / raw)
  To: sisyphus

Приветствую!

У меня не получается заставить это работать, как следует. Проблема в том, что 
не видит (не хочет открывать) базу /etc/sasldb.
Проделывал все, как написано в доках, но ни sasldblistusers, ни saslpasswd не 
открывают sasldb. 
Вот, что пишут:

 ]# sasldblistusers
Error opening password file /etc/sasldb
 ]#  saslpasswd -u orion.inion.ru -a smtpauth fred
Password:
Again (for verification):
saslpasswd: generic failure
 ]# logtail /var/log/messages
Jan 19 18:31:39 orion saslpasswd: unable to open Berkeley db /etc/sasldb: 
Invalid argument
Jan 19 18:31:46 orion last message repeated 2 times
Jan 19 18:31:46 orion saslpasswd: failed to set plaintext secret for fred: 
generic failure
Jan 19 18:31:46 orion saslpasswd: PLAIN: failed to set secret for fred: 
generic failure
Jan 19 18:31:46 orion saslpasswd: unable to open Berkeley db /etc/sasldb: 
Invalid argument
Jan 19 18:31:46 orion saslpasswd: DIGEST-MD5: failed to set secret for fred: 
generic failure
Jan 19 18:31:46 orion saslpasswd: unable to open Berkeley db /etc/sasldb: 
Invalid argument
Jan 19 18:31:46 orion saslpasswd: CRAM-MD5: failed to set secret for fred: 
generic failure
---------------

Что я делаю не так?
Настройки такие:

]# ls -l /var/spool/postfix/etc/sasldb
-rw-r-----    1 root     postfix         1 Jan 19 17:41 
/var/spool/postfix/etc/sasldb

]# ls -l /etc/sasldb
lrwxrwxrwx    1 root     root           29 Jan 19 18:06 /etc/sasldb -> 
/var/spool/postfix/etc/sasldb

]# ls -l /etc/postfix/sasldb
lrwxrwxrwx    1 root     root           29 Jan 19 18:06 /etc/postfix/sasldb 
-> /var/spool/postfix/etc/sasldb

]# cat /usr/local/lib/sasl/smtpd.conf
pwcheck_method: sasldb

В /etc/postfix/main.cf сейчас вот что, хотя были опробованы и варианты:

smtp_sasl_auth_enable=yes
smtpd_sasl_auth_enable=yes
smtpd_sasl_security_options=noanonymous
smtpd_sasl_local_domain = $myhostname
smtpd_recipient_restrictions=
    permit_mynetworks,
    permit_sasl_authenticated,
    check_relay_domains
--------------

Помогите, плиз, разобраться, чтоя  упустил?

Заранее спасибо.

Да, забыл -- стоит Спринг обсизифленный:

]# rpm -q `rpm -qa | grep postfix`
postfix-smtpd-1.1.12-alt1
postfix-1.1.12-alt1
postfix-sasl-1.1.12-alt1
postfix-smtpd-sasl-1.1.12-alt1

]# rpm -q `rpm -qa | grep cyrus`
cyrus-sasl-1.5.28-alt1


--
Fred.







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

end of thread, other threads:[~2003-01-20  7:38 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-19 15:57 [sisyphus] и опять postfix+sasl Fred
2003-01-19 16:04 ` Герасимов Дмитрий
2003-01-19 16:19   ` Fred
2003-01-19 16:17     ` Герасимов Дмитрий
2003-01-19 16:26       ` Fred
2003-01-19 17:00       ` Ilya Palagin
2003-01-19 17:37         ` Fred
2003-01-19 17:26       ` Герасимов Дмитрий
2003-01-19 17:57         ` Fred
2003-01-19 18:07           ` Герасимов Дмитрий
2003-01-19 18:20             ` Fred
2003-01-19 16:42 ` Sergey V. Degtyaryov
2003-01-19 17:27   ` Fred
2003-01-19 17:15 ` Albert R. Valiev
2003-01-19 17:43   ` Fred
2003-01-20  7:38 ` vic ismakaev

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