I am trying to configure courier with mysql auth, but I am lost in getting meaningful debug messages such as the database connectivity. I tried to lookup /var/log/maillog and /var/log/messages, but I am still unable to get any error message regarding the auth… Can anybody guide me to further configure the system?

 

Here is what I found in maillog

Feb 27 00:03:58 blackcomb imapd: Connection, ip=[::ffff:192.168.0.136]

Feb 27 00:03:58 blackcomb imapd: LOGIN: DEBUG: ip=[::ffff:192.168.0.136], command=CAPABILITY

Feb 27 00:03:58 blackcomb imapd: LOGIN: DEBUG: ip=[::ffff:192.168.0.136], command=LOGIN

Feb 27 00:03:58 blackcomb imapd: LOGIN: DEBUG: ip=[::ffff:192.168.0.136], [EMAIL PROTECTED]

Feb 27 00:03:58 blackcomb imapd: LOGIN: DEBUG: ip=[::ffff:192.168.0.136], password=secret

Feb 27 00:04:03 blackcomb imapd: LOGIN FAILED, ip=[::ffff:192.168.0.136]

Feb 27 00:04:07 blackcomb imapd: DISCONNECTED, ip=[::ffff:192.168.0.136], headers=0, body=0

 

Here is the rpm I installed:

courier-0.44.2.20040222-1.9

courier-imapd-0.44.2.20040222-1.9

courier-mysql-0.44.2.20040222-1.9

courier-webadmin-0.44.2.20040222-1.9

courier-maildrop-0.44.2.20040222-1.9

courier-fax-0.44.2.20040222-1.9

courier-ldap-0.44.2.20040222-1.9

courier-mlm-0.44.2.20040222-1.9

courier-pgsql-0.44.2.20040222-1.9

courier-smtpauth-0.44.2.20040222-1.9

courier-webmail-0.44.2.20040222-1.9

courier-debuginfo-0.44.2.20040222-1.9

courier-maildrop-wrapper-0.44.2.20040222-1.9

courier-pop3d-0.44.2.20040222-1.9

 

In “authdaemonrc:”

authmodulelist="authmysql authpam"
authmodulelistorig="authcustom authcram authuserdb authldap authpgsql authmysql authpam"

 

In smtpd:

DEBUG_LOGIN=2

 

In authmysqlrc:

MYSQL_SERVER            localhost

MYSQL_USERNAME          root

MYSQL_PASSWORD

MYSQL_SOCKET            /var/mysql/mysql.sock

MYSQL_PORT              0

MYSQL_OPT               0
MYSQL_DATABASE          maildb

MYSQL_CRYPT_PWFIELD     crypt

MYSQL_CLEAR_PWFIELD     clear

MYSQL_UID_FIELD         uid

MYSQL_GID_FIELD         gid

MYSQL_LOGIN_FIELD       id

MYSQL_HOME_FIELD        home

MYSQL_NAME_FIELD        name

MYSQL_MAILDIR_FIELD     maildir

 

 

 

 

Reply via email to