ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Degtyaryov <maga@replay.ru>
To: community@altlinux.ru
Subject: Re: [Comm] postfix-sasl. Проблема с sasldb
Date: Thu, 19 Sep 2002 16:00:12 +0400
Message-ID: <20020919160012.7c3ff69e.maga@replay.ru> (raw)
In-Reply-To: <6518724524.20020919145621@mail.ru>

Доброго дня, send2my.
19 Сентября в 14:56  Вы сказали буквально следующее:

> Добрый день, уважаемое сообщество!
> 
> Поставил из Сизифа postfix, postfix-smtpd-sasl, postfix-sasl
> (1.1.11). Все встало, дописал немного main.cf. Поверил, все Ок.
> 
> Почитал:
> /etc/postfix/README_FILES/SASL_README
> /etc/postfix/samples/auth.cf
> Включаю авторизацию. Добавляю в main.cf
> ...
> smtpd_sasl_auth_enable = yes
> smtpd_recipient_restrictions = permit_mynetworks,
> permit_sasl_authenticated, check_relay_domains...
> 
> Пишу в /usr/lib/sasl/smtpd.conf "pwcheck_method: sasldb"
> #chown root.postfix /usr/lib/sasl/smtpd.conf
> #chmod 640 /usr/lib/sasl/smtpd.conf
> 
> Добавляю пользователя
> #/usr/sbin/saslpaswd -c user
> #/usr/sbin/sasldblistusers
> #chown root.postfix /etc/sasldb
> #chmod 640 /etc/sasldb
> #ln -s /etc/sasldb /var/spool/postfix/sasldb
> 
> #/etc/rc.d/init.d/postfix reload
> Все ок, но при отправке письма из MUA дает ошибку на
> аутентификацию. Такое впечатление, что Postfix не видит
> /usr/lib/sasl/smtpd.conf.

Среди Ваших действий нет изменений в master.cf:

#smtp   inet    n       -       y       -       -       smtpd
smtp    inet    n       -       y       -       -       smtpd-sasl  
    

Не сделали или не не написали?
Еще раньше был баг - saslpasswd добавлял юзера только со второго
раза. Не знаю как сейчас с этим дела.
-- 
Rgds, maga, maga@mail.ru
[maga@localhost]$ /usr/games/fortune
Храпеж среди бела дня.



  reply	other threads:[~2002-09-19 12:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-19 10:56 send2my
2002-09-19 12:00 ` Sergey Degtyaryov [this message]
2002-09-19 12:03 ` [Comm] " send2my
2002-09-19 12:17 ` [Comm] " Artem K. Jouravsky

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=20020919160012.7c3ff69e.maga@replay.ru \
    --to=maga@replay.ru \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git