* [Comm] Postfix + SASL - ошибка
@ 2004-12-09 13:04 Кочетков Владимир
2004-12-09 13:34 ` Aleksandr Blokhin
2004-12-09 13:39 ` Alexei Takaseev
0 siblings, 2 replies; 8+ messages in thread
From: Кочетков Владимир @ 2004-12-09 13:04 UTC (permalink / raw)
To: community
Здравствуйте, community !
Пытаюсь настроить эту связку
Мастер 2.4
rpm -qa |grep postfix
postfix-mysql-2.0.20-alt1.3
postfix-control-1.2-alt1
postfix-2.0.20-alt1.3
rpm -qa |grep sasl
libsasl2-plugin-sql-2.1.19-alt1
libsasl2-2.1.19-alt1
cyrus-sasl2-2.1.19-alt1
/etc/postfix/main.cf
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_recipient_restrictions = permit_sasl_authenticated, reject_unauth_destination, reject
smtpd_sasl_password_maps = mysql:/etc/postfix/mysql_sasl.cf
/etc/postfix/mysql_sasl.cf
user = postfix
password = postfix
dbname = mail
table = users
select_field = passwd
where_field = email
additional_conditions = and enabled = 1
hosts = 127.0.0.1
/usr/lib/sasl2/smtpd.conf
pwcheck_metod: auxprop
allowplaintext: yes
auxprop_plugin: sql
sql_engine: mysql
sql_user: postfix
sql_passwd: postfix
sql_hostnames: 127.0.0.1
sql_database: mail
sql_statement: select passwd from users where email = '%u@%r' and enabled = '1'
sql_verbose: nu
При попытке подключения аутентификация не запрашивается.
А в логах получаю:
Dec 9 13:59:48 forpost postfix/smtpd[13191]: warning: SASL
authentication failure: OTP: auxprop backend can't store properties
Что то забыл ? Подскажите, плиз.
--
С уважением,
Кочетков Владимир mailto:kvn@toltc.samen.elektra.ru
Тольяттинские тепловые сети
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] Postfix + SASL - ошибка
2004-12-09 13:04 [Comm] Postfix + SASL - ошибка Кочетков Владимир
@ 2004-12-09 13:34 ` Aleksandr Blokhin
2004-12-10 4:14 ` Re[2]: " Кочетков Владимир
2004-12-09 13:39 ` Alexei Takaseev
1 sibling, 1 reply; 8+ messages in thread
From: Aleksandr Blokhin @ 2004-12-09 13:34 UTC (permalink / raw)
To: community
Кочетков Владимир wrote:
> /usr/lib/sasl2/smtpd.conf
>pwcheck_metod: auxprop
>allowplaintext: yes
>auxprop_plugin: sql
>sql_engine: mysql
>sql_user: postfix
>sql_passwd: postfix
>sql_hostnames: 127.0.0.1
>sql_database: mail
>sql_statement: select passwd from users where email = '%u@%r' and enabled = '1'
>sql_verbose: nu
>
>
^^^^^^^^^^^^^^^^^^^ nU или nO?
>А в логах получаю:
>
>Dec 9 13:59:48 forpost postfix/smtpd[13191]: warning: SASL
>authentication failure: OTP: auxprop backend can't store properties
>
>Что то забыл ? Подскажите, плиз.
>
>
mech_list: PLAIN LOGIN
--
Best regards
AB
--
... In nomine Altli, et Ctrli, et Spititus Deli, Reset!
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] Postfix + SASL - ошибка
2004-12-09 13:04 [Comm] Postfix + SASL - ошибка Кочетков Владимир
2004-12-09 13:34 ` Aleksandr Blokhin
@ 2004-12-09 13:39 ` Alexei Takaseev
2004-12-10 10:35 ` Re[2]: " Кочетков Владимир
1 sibling, 1 reply; 8+ messages in thread
From: Alexei Takaseev @ 2004-12-09 13:39 UTC (permalink / raw)
To: ALT Linux Community
On Thu, 9 Dec 2004 17:04:30 +0400
Кочетков Владимир <kvn@toltc.samen.elektra.ru> wrote:
> При попытке подключения аутентификация не запрашивается.
> А в логах получаю:
>
> Dec 9 13:59:48 forpost postfix/smtpd[13191]: warning: SASL
> authentication failure: OTP: auxprop backend can't store properties
>
> Что то забыл ? Подскажите, плиз.
Можно попробовать скопировать /etc/sasl2/* в /var/spool/postfix/etc/*
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re[2]: [Comm] Postfix + SASL - ошибка
2004-12-09 13:39 ` Alexei Takaseev
@ 2004-12-10 10:35 ` Кочетков Владимир
2004-12-10 11:27 ` Alexei Takaseev
0 siblings, 1 reply; 8+ messages in thread
From: Кочетков Владимир @ 2004-12-10 10:35 UTC (permalink / raw)
To: Alexei Takaseev
Здравствуйте, Alexei.
Вы писали 9 декабря 2004 г., 17:39:04:
AT> On Thu, 9 Dec 2004 17:04:30 +0400
AT> Кочетков Владимир <kvn@toltc.samen.elektra.ru> wrote:
>> При попытке подключения аутентификация не запрашивается.
>> А в логах получаю:
>>
>> Dec 9 13:59:48 forpost postfix/smtpd[13191]: warning: SASL
>> authentication failure: OTP: auxprop backend can't store properties
>>
>> Что то забыл ? Подскажите, плиз.
AT> Можно попробовать скопировать /etc/sasl2/* в /var/spool/postfix/etc/*
^^^^^^^^^^
А это разве используется ?
Я думал это относится к saslauthd, или я был не прав ?
--
С уважением,
Кочетков mailto:kvn@toltc.samen.elektra.ru
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re[2]: [Comm] Postfix + SASL - ошибка
2004-12-10 10:35 ` Re[2]: " Кочетков Владимир
@ 2004-12-10 11:27 ` Alexei Takaseev
2004-12-10 11:54 ` Re[4]: " Кочетков Владимир
2004-12-10 13:06 ` Aleksandr Blokhin
0 siblings, 2 replies; 8+ messages in thread
From: Alexei Takaseev @ 2004-12-10 11:27 UTC (permalink / raw)
To: ALT Linux Community
On Fri, 10 Dec 2004 14:35:19 +0400
Кочетков Владимир <kvn@toltc.samen.elektra.ru> wrote:
> Здравствуйте, Alexei.
>
> Вы писали 9 декабря 2004 г., 17:39:04:
>
> AT> On Thu, 9 Dec 2004 17:04:30 +0400
> AT> Кочетков Владимир <kvn@toltc.samen.elektra.ru> wrote:
>
> >> При попытке подключения аутентификация не запрашивается.
> >> А в логах получаю:
> >>
> >> Dec 9 13:59:48 forpost postfix/smtpd[13191]: warning: SASL
> >> authentication failure: OTP: auxprop backend can't store properties
> >>
> >> Что то забыл ? Подскажите, плиз.
>
> AT> Можно попробовать скопировать /etc/sasl2/* в
> AT> /var/spool/postfix/etc/*
>
> ^^^^^^^^^^
> А это разве используется ?
> Я думал это относится к saslauthd, или я был не прав ?
Это давняя багофича SASL2. Если либа не находит в положеном месте файл
sasldb2, то корректно обработать запрос будет невозможно, даже при том
случае, что в оном файле вообще нет корретных записей и он вообще не
участвует в работе. Но поди ж ты - нужен.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re[4]: [Comm] Postfix + SASL - ошибка
2004-12-10 11:27 ` Alexei Takaseev
@ 2004-12-10 11:54 ` Кочетков Владимир
2004-12-10 13:06 ` Aleksandr Blokhin
1 sibling, 0 replies; 8+ messages in thread
From: Кочетков Владимир @ 2004-12-10 11:54 UTC (permalink / raw)
To: Alexei Takaseev
Здравствуйте, Alexei.
Вы писали 10 декабря 2004 г., 15:27:19:
AT> On Fri, 10 Dec 2004 14:35:19 +0400
AT> Кочетков Владимир <kvn@toltc.samen.elektra.ru> wrote:
>> Здравствуйте, Alexei.
>>
>> Вы писали 9 декабря 2004 г., 17:39:04:
>>
>> AT> On Thu, 9 Dec 2004 17:04:30 +0400
>> AT> Кочетков Владимир <kvn@toltc.samen.elektra.ru> wrote:
>>
>> >> При попытке подключения аутентификация не запрашивается.
>> >> А в логах получаю:
>> >>
>> >> Dec 9 13:59:48 forpost postfix/smtpd[13191]: warning: SASL
>> >> authentication failure: OTP: auxprop backend can't store properties
>> >>
>> >> Что то забыл ? Подскажите, плиз.
>>
>> AT> Можно попробовать скопировать /etc/sasl2/* в
>> AT> /var/spool/postfix/etc/*
>>
>> ^^^^^^^^^^
>> А это разве используется ?
>> Я думал это относится к saslauthd, или я был не прав ?
AT> Это давняя багофича SASL2. Если либа не находит в положеном месте файл
AT> sasldb2, то корректно обработать запрос будет невозможно, даже при том
AT> случае, что в оном файле вообще нет корретных записей и он вообще не
AT> участвует в работе. Но поди ж ты - нужен.
AT> _______________________________________________
AT> Community mailing list
AT> Community@altlinux.ru
AT> https://lists.altlinux.ru/mailman/listinfo/community
Ну надо же !
Попробую
--
С уважением,
Кочетков mailto:kvn@toltc.samen.elektra.ru
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] Postfix + SASL - ошибка
2004-12-10 11:27 ` Alexei Takaseev
2004-12-10 11:54 ` Re[4]: " Кочетков Владимир
@ 2004-12-10 13:06 ` Aleksandr Blokhin
1 sibling, 0 replies; 8+ messages in thread
From: Aleksandr Blokhin @ 2004-12-10 13:06 UTC (permalink / raw)
To: community
Alexei Takaseev wrote:
>On Fri, 10 Dec 2004 14:35:19 +0400
>Кочетков Владимир <kvn@toltc.samen.elektra.ru> wrote:
>
>
>
>>Здравствуйте, Alexei.
>>
>>Вы писали 9 декабря 2004 г., 17:39:04:
>>
>>AT> On Thu, 9 Dec 2004 17:04:30 +0400
>>AT> Кочетков Владимир <kvn@toltc.samen.elektra.ru> wrote:
>>
>>
>>
>>>>При попытке подключения аутентификация не запрашивается.
>>>>А в логах получаю:
>>>>
>>>>Dec 9 13:59:48 forpost postfix/smtpd[13191]: warning: SASL
>>>>authentication failure: OTP: auxprop backend can't store properties
>>>>
>>>>Что то забыл ? Подскажите, плиз.
>>>>
>>>>
>>AT> Можно попробовать скопировать /etc/sasl2/* в
>>AT> /var/spool/postfix/etc/*
>>
>> ^^^^^^^^^^
>>А это разве используется ?
>>Я думал это относится к saslauthd, или я был не прав ?
>>
>>
>
>Это давняя багофича SASL2. Если либа не находит в положеном месте файл
>sasldb2, то корректно обработать запрос будет невозможно, даже при том
>случае, что в оном файле вообще нет корретных записей и он вообще не
>участвует в работе. Но поди ж ты - нужен.
>
>
Нет. Не нужен. Это вызвано использованием OTP-протокола в SASL. Выходов
из сложившейся ситуации два: первый (грубый) - удалить все libotp* из
/usr/lib/sasl2,
второй (IMHO правильный) - указать, как я советовал ранее, используемые
механизмы
аутентификации. Причём, набранные в верхнем регистре!
--
Best regards
AB
--
... In nomine Altli, et Ctrli, et Spititus Deli, Reset!
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-12-10 13:06 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-09 13:04 [Comm] Postfix + SASL - ошибка Кочетков Владимир
2004-12-09 13:34 ` Aleksandr Blokhin
2004-12-10 4:14 ` Re[2]: " Кочетков Владимир
2004-12-09 13:39 ` Alexei Takaseev
2004-12-10 10:35 ` Re[2]: " Кочетков Владимир
2004-12-10 11:27 ` Alexei Takaseev
2004-12-10 11:54 ` Re[4]: " Кочетков Владимир
2004-12-10 13:06 ` Aleksandr Blokhin
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