[Backports] небольшой вопрос

Anatoly Romashkin =?iso-8859-1?q?alm_=CE=C1_n-chelny=2Eru?=
Ср Апр 19 09:14:53 MSD 2006


On Tue, 18 Apr 2006 20:23:43 -0700
Dmitry Vodennikov <vod на elecom.ru> wrote:

> Вот это работает.
> 
> [vod на gw vod]$ rpm -qi courier-authdaemon-mysql
> Name        : courier-authdaemon-mysql     Relocations: (not
> relocateable) Version     : 3.0.7                             Vendor:
> ALT Linux Team Release     : alt1                          Build
да, такой

> 
> в /etc/sysconfig/courier-imap
> DEFAULT_AUTHD=mysql
> 
> в /etc/courier-imap/authdaemon.conf
> authmodulelist="authmysql"
разумеется прописано

> 
> в /etc/courier-imap/authdaemon-mysql.conf
> MYSQL_SERVER	127.0.0.1
> и т.д.
здесь умышленно указывал даже ошибочный адрес. ругани не было.

вот кусок /var/log/maillog:
-------------------
Apr 19 08:38:49 jerky authdaemond.mysql: modules="authmysql", daemons=5
Apr 19 08:39:10 jerky pop3d: LOGIN: DEBUG: ip=[192.168.114.19],
command=USER
Apr 19 08:39:15 jerky pop3d: LOGIN: DEBUG: ip=[192.168.114.19],
command=PASS
Apr 19 08:39:15 jerky pop3d: LOGIN: DEBUG: ip=[192.168.114.19],
username=critter на fbi.lan
Apr 19 08:39:15 jerky pop3d: LOGIN: DEBUG: ip=[192.168.114.19],
password=critter
Apr 19 08:39:16 jerky pop3d: authdaemon: starting client module
Apr 19 08:39:16 jerky pop3d: authdaemon: TEMPFAIL - no more modules
will be tried
Apr 19 08:39:21 jerky pop3d: LOGIN FAILED, user=[critter на fbi.lan],
ip=[192.168.114.19]
Apr 19 08:39:23 jerky pop3d: LOGIN: DEBUG: ip=[192.168.114.19],
command=QUIT
Apr 19 08:39:23 jerky pop3d: LOGOUT, ip=[192.168.114.19]
-------------------


> mysql естественно слушает на tcp-сокете
да
логи смотрю /var/lib/mysql/log/queries


authdaemon-mysql сам к базе обращается, или требуется какая-то
прослойка?

__
Anatoly Romashkin
Nab.Chelny ALTLinux maillist





Подробная информация о списке рассылки backports