ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexei Takaseev <alexei@taf.ru>
To: ALT Linux Community <community@altlinux.ru>
Subject: Re: [Comm] postfix
Date: Wed, 26 Oct 2005 22:54:27 +0900
Message-ID: <20051026225427.642e6ba3.alexei@taf.ru> (raw)
In-Reply-To: <1325663114.20051026135220@narod.ru>

On Wed, 26 Oct 2005 13:52:20 +0400
Oleg Pan wrote:

> Hello community,
> 
>   ситуация такая:
>   master-2.4
>   стоит postfix-2.2.4 в связке с myslq
>   все прекрасно работает
> 
>   есть задача прикрутить sasl аутентификацию
>   я так понял что достаточно поставить postfix-tls
> 
>   Вопрос
>    1. куда положить конфиг smtpd.conf в нашем дистрибутиве?
>       во всех местах, куда я его пробовал положить результат
>       одинаковый:
>       /var/log/mail/all:
> Oct 26 13:48:58 intermail postfix/smtpd[12800]: connect from
> unknown[192.168.0.1]
> Oct 26 13:48:58 intermail postfix/smtpd[12800]: warning: SASL
> authentication problem: unable to open Berkeley db /etc/sasl
> 2/sasldb2: No such file or directory

Как простой вариант скопировать каталог /etc/sasl2 в
/var/spool/postfix/etc (все же компоненты, работающие с SASL обитают в
chroot)

> smtpd.conf:
> 
> pwcheck_method: auxprop
> auxprop_plugin: sql
> mech_list: plain login
> 
> sql_engine: mysql
> sql_hostnames: localhost
> sql_user: user
> sql_passwd: password
> sql_database: mail
> sql_select: select password from users where email='%u@%r' and
> enabled='1'

где у вас располагается файл? Он должен лежать в /etc/postfix/sasl


      parent reply	other threads:[~2005-10-26 13:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-26  9:52 Oleg Pan
2005-10-26  9:57 ` Sergey Viuchny
2005-10-26 10:10   ` Re[2]: " Oleg Pan
2005-10-26 10:16     ` Шенцев Алексей Владимирович
2005-10-26 11:51       ` Mike Lykov
2005-10-26 10:27     ` Sergey Bolonkin
2005-10-26 10:10 ` Mike Lykov
2005-10-26 11:50   ` Vladimir V. Kamarzin
2005-10-26 13:54 ` Alexei Takaseev [this message]

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=20051026225427.642e6ba3.alexei@taf.ru \
    --to=alexei@taf.ru \
    --cc=community@altlinux.ru \
    --cc=community@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 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