ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] postfix
@ 2005-10-26  9:52 Oleg Pan
  2005-10-26  9:57 ` Sergey Viuchny
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Oleg Pan @ 2005-10-26  9:52 UTC (permalink / raw)
  To: community

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
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
Oct 26 13:48:58 intermail postfix/smtpd[12800]: warning: SASL authentication failure: no secret in database
Oct 26 13:48:58 intermail postfix/smtpd[12800]: warning:
unknown[192.168.0.1]: SASL CRAM-MD5 authentication failed
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
Oct 26 13:48:58 intermail last message repeated 4 times
Oct 26 13:48:58 intermail postfix/smtpd[12800]: warning: SASL authentication failure: Password verification failed
Oct 26 13:48:58 intermail postfix/smtpd[12800]: warning:
unknown[192.168.0.1]: SASL PLAIN authentication failed
Oct 26 13:48:58 intermail postfix/smtpd[12800]: AB50ECF98C:
client=unknown[192.168.0.1]


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'
      




-- 
Best regards,
 Oleg                          mailto:wacom@narod.ru



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

* Re: [Comm] postfix
  2005-10-26  9:52 [Comm] postfix Oleg Pan
@ 2005-10-26  9:57 ` Sergey Viuchny
  2005-10-26 10:10   ` Re[2]: " Oleg Pan
  2005-10-26 10:10 ` Mike Lykov
  2005-10-26 13:54 ` Alexei Takaseev
  2 siblings, 1 reply; 9+ messages in thread
From: Sergey Viuchny @ 2005-10-26  9:57 UTC (permalink / raw)
  To: ALT Linux Community

разве не тут ?
/etc/sasl2

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
>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
>Oct 26 13:48:58 intermail postfix/smtpd[12800]: warning: SASL authentication failure: no secret in database
>Oct 26 13:48:58 intermail postfix/smtpd[12800]: warning:
>unknown[192.168.0.1]: SASL CRAM-MD5 authentication failed
>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
>Oct 26 13:48:58 intermail last message repeated 4 times
>Oct 26 13:48:58 intermail postfix/smtpd[12800]: warning: SASL authentication failure: Password verification failed
>Oct 26 13:48:58 intermail postfix/smtpd[12800]: warning:
>unknown[192.168.0.1]: SASL PLAIN authentication failed
>Oct 26 13:48:58 intermail postfix/smtpd[12800]: AB50ECF98C:
>client=unknown[192.168.0.1]
>
>
>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'
>      
>
>
>
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Community mailing list
>Community@lists.altlinux.org
>https://lists.altlinux.org/mailman/listinfo/community
>



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

* Re[2]: [Comm] postfix
  2005-10-26  9:57 ` Sergey Viuchny
@ 2005-10-26 10:10   ` Oleg Pan
  2005-10-26 10:16     ` Шенцев Алексей Владимирович
  2005-10-26 10:27     ` Sergey Bolonkin
  0 siblings, 2 replies; 9+ messages in thread
From: Oleg Pan @ 2005-10-26 10:10 UTC (permalink / raw)
  To: ALT Linux Community

Hello Sergey,

Wednesday, October 26, 2005, 1:57:30 PM, you wrote:

> разве не тут ?
> /etc/sasl2

похоже нет

вроде начинает работать с

/etc/postfix/sasl/ или /etc/postfix/sasl2

я сделал обе одинаковые и что-то пошло буду дальше ломать


-- 
Best regards,
 Oleg                            mailto:wacom@narod.ru



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

* Re: [Comm] postfix
  2005-10-26  9:52 [Comm] postfix Oleg Pan
  2005-10-26  9:57 ` Sergey Viuchny
@ 2005-10-26 10:10 ` Mike Lykov
  2005-10-26 11:50   ` Vladimir V. Kamarzin
  2005-10-26 13:54 ` Alexei Takaseev
  2 siblings, 1 reply; 9+ messages in thread
From: Mike Lykov @ 2005-10-26 10:10 UTC (permalink / raw)
  To: Oleg Pan, ALT Linux Community

В сообщении от Среда 26 Октябрь 2005 14:52 Oleg Pan написал:
> authentication problem: unable to open Berkeley db /etc/sasl 2/sasldb2: No
> such file or directory

это наверно он считает от /var/spool/postfix/etc/....

-- 
Mike Lykov
Samara, "Vesna" parfum company, System administrator 


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

* Re: [Comm] postfix
  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
  1 sibling, 1 reply; 9+ messages in thread
From: Шенцев Алексей Владимирович @ 2005-10-26 10:16 UTC (permalink / raw)
  To: Oleg Pan, ALT Linux Community

В сообщении от Среда 26 Октябрь 2005 14:10 Oleg Pan написал(a):
> я сделал обе одинаковые и что-то пошло буду дальше ломать
Олег, поищите в архивах рассылки. Месяц или два назад данная тема обсуждалась.
-- 
С уважением, Шенцев Алексей (AShen)

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

* Re: [Comm] postfix
  2005-10-26 10:10   ` Re[2]: " Oleg Pan
  2005-10-26 10:16     ` Шенцев Алексей Владимирович
@ 2005-10-26 10:27     ` Sergey Bolonkin
  1 sibling, 0 replies; 9+ messages in thread
From: Sergey Bolonkin @ 2005-10-26 10:27 UTC (permalink / raw)
  To: Oleg Pan, ALT Linux Community

Oleg Pan пишет:
> Hello Sergey,
> 
> Wednesday, October 26, 2005, 1:57:30 PM, you wrote:
> 
> 
>>разве не тут ?
>>/etc/sasl2
> 
> 
> похоже нет
> 
> вроде начинает работать с
> 
> /etc/postfix/sasl/ или /etc/postfix/sasl2
> 
> я сделал обе одинаковые и что-то пошло буду дальше ломать


/usr/lib/sasl2/smtpd.conf
#ln -s /usr/lib/sasl2/smtpd.conf /etc/postfix/sasl/smtpd.conf


-- 
_______________
Sergey Bolonkin


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

* Re: [Comm] postfix
  2005-10-26 10:10 ` Mike Lykov
@ 2005-10-26 11:50   ` Vladimir V. Kamarzin
  0 siblings, 0 replies; 9+ messages in thread
From: Vladimir V. Kamarzin @ 2005-10-26 11:50 UTC (permalink / raw)
  To: combr; +Cc: ALT Linux Community, combr

>>>>> On 26 Oct 2005 at 16:10 "ML" == Mike Lykov writes:

>> authentication problem: unable to open Berkeley db /etc/sasl 2/sasldb2: No
>> such file or directory

 ML> это наверно он считает от /var/spool/postfix/etc/....

Народ, $ grep sasl /usr/share/doc/postfix-*/README.ALT-ru_RU.KOI8-R
Всё именно так, как там и написано ;-)

-- 
WBR, Vladimir V. Kamarzin.



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

* Re: [Comm] postfix
  2005-10-26 10:16     ` Шенцев Алексей Владимирович
@ 2005-10-26 11:51       ` Mike Lykov
  0 siblings, 0 replies; 9+ messages in thread
From: Mike Lykov @ 2005-10-26 11:51 UTC (permalink / raw)
  To: ALT Linux Community

В сообщении от Среда 26 Октябрь 2005 15:16 Шенцев Алексей Владимирович 
написал:
> > я сделал обе одинаковые и что-то пошло буду дальше ломать
> Олег, поищите в архивах рассылки. Месяц или два назад данная тема
> обсуждалась.

а еще в пакете есть файл /usr/share/doc/postfix-2.2.4/README.ALT-ru_RU.KOI8-R

-- 
Mike Lykov
Samara, "Vesna" parfum company, System administrator 


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

* Re: [Comm] postfix
  2005-10-26  9:52 [Comm] postfix Oleg Pan
  2005-10-26  9:57 ` Sergey Viuchny
  2005-10-26 10:10 ` Mike Lykov
@ 2005-10-26 13:54 ` Alexei Takaseev
  2 siblings, 0 replies; 9+ messages in thread
From: Alexei Takaseev @ 2005-10-26 13:54 UTC (permalink / raw)
  To: ALT Linux Community

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


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

end of thread, other threads:[~2005-10-26 13:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-26  9:52 [Comm] postfix 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

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