From: vic ismakaev <viclists@mail.esoo.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] help sasl2 postfix-2(deadalus)
Date: Fri, 3 Oct 2003 12:33:54 +0600
Message-ID: <200310031233.54204.viclists@mail.esoo.ru> (raw)
In-Reply-To: <3F7C74D6.3060807@parkheights.dyndns.org>
3 Октябрь 2003 00:56, sergey ivanov написал:
> sergey ivanov wrote:
> > sergey ivanov wrote:
> >> Alexei Takaseev wrote:
> >>> On Thu, 02 Oct 2003 11:58:05 -0400
> >>>
> >>> sergey ivanov <seriv@parkheights.dyndns.org> wrote:
> >>>> [skip]
> >>>> No such file or directory
> >>>> Oct 2 11:47:01 ivanov-sz1 postfix/smtpd-sasl[9338]: warning: SASL
> >>>> authentication problem: unable to open Berkeley db /etc/sasl2/sasldb2:
> >>>> [skip]
> >>>
> >>> Нужно создать файл /var/spool/postfix/etc/sasl2/sasldb, для этого можно
> >>> скопировать его из каталога /etc/sasl2 а можно просто нулевой длины его
> >>> сделать (я именно так и поступил). Тут дело не совсем в postfix'е, тут
> >>> еще и SASL2 свою лепту вносит, именно она не производит авторизацию
> >>> из-за отсуствия этого файлика.
> >>
> >> [skip]
> >> Для проверки беру делаю
> >> # service mysqld stop
> >> И результат не изменяется. Могу ли я из этого сделать вывод что эта
> >> sasl2 не лезет в MySQL а отправляется в свою BerkleyDB?
> >> Если это так, то как её убедить всё-таки лезть в MySQL?
> >>
> >> Сергей.
> >
> > Извиняюсь, был неправ. В логах MySQL (/var/lib/mysql/log/queries)
> > увидел, что sasl2 таки обращается к MySQL, но почему-то пытается это
> > делать без пароля:
> > ------
> > 031002 13:06:59 19 Connect Access denied for user:
> > 'postfix@localhost.localdomain' (Using password: NO)
> > 20 Connect Access denied for user:
> > 'postfix@localhost.localdomain' (Using password: NO)
> > 21 Connect Access denied for user:
> > 'postfix@localhost.localdomain' (Using password: NO)
> > 22 Connect Access denied for user:
> > 'postfix@localhost.localdomain' (Using password: NO)
> >
> > Так что теперь опять возникет вопрос, что не так в
> > /usr/lib/sasl2/smtpd.conf:
> > ------
> > # cat /usr/lib/sasl2/smtpd.conf
> > allowplaintext: yes
> > sasl_pwcheck_method: auxprop
> > mysql_user: postfix
> > mysql_password: postfix
> > mysql_hostnames: ivanov-sz1.gtedc.gte.com
> > mysql_database: postfix
> > mysql_statement: select password from mailbox where username='%u@%r'
> > mysql_verbose: yes
> >
> > Сергей.
>
> Неправильно было название, mysql_password.
> Должно быть mysql_passwd.
> Это можно было прочесть только в исходниках mysql плагина для sasl2.
> Причем эти исходники apt не может найти:
> $ apt-get source libsasl2-plugin-mysql
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Need to get 1465kB of source archives.
> Get:1 ftp://ftp.altlinux.com i586/classic cyrus-sasl2 2.1.15-alt5 (srpm)
> [1465kB]
> Err ftp://ftp.altlinux.com i586/classic cyrus-sasl2 2.1.15-alt5 (srpm)
> Unable to fetch file, server said 'Failed to open file. '
> Failed to fetch
> ftp://ftp.altlinux.com/pub/distributions/ALTLinux/Sisyphus/i586/../SRPMS.cl
>assic/cyrus-sasl2-2.1.15-alt5.src.rpm Unable to fetch file, server said
> 'Failed to open file. '
> E: Failed to fetch some archives.
Все sasl2 либы собираются из одного исходника - cyrus-sasl2-xxx.src.rpm.
В сизифе лежит уже alt5.1
--
С уважением
Виктор В Исмакаев
next prev parent reply other threads:[~2003-10-03 6:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-02 15:58 sergey ivanov
2003-10-02 16:07 ` Alexei Takaseev
2003-10-02 16:57 ` sergey ivanov
2003-10-02 17:13 ` sergey ivanov
2003-10-02 18:56 ` sergey ivanov
2003-10-03 6:33 ` vic ismakaev [this message]
2003-10-04 19:07 ` [JT][sisyphus] help sasl2 postfix-2(deadalus) и LDAP Viktor S. Grishchenko
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=200310031233.54204.viclists@mail.esoo.ru \
--to=viclists@mail.esoo.ru \
--cc=sisyphus@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 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