I am using courier 0.37.3 with Debian woody and postfix. All messages are
delivered successfully with postfix, but I am not able to login with any
imap client.  Even courierauthtest -s imap [EMAIL PROTECTED] test is not
working. The result is like

courierauthtest -s imap [EMAIL PROTECTED] test
Temporary authentication failure from module authdaemon
Authentication FAILED!


The mysql.log looks quite good:

20 Connect     [EMAIL PROTECTED] on
                     20 Init DB     maildb
                     20 Query       SELECT id, "", clear, uid, gid, home,
maildir, quota, name FROM users WHERE id = "[EMAIL PROTECTED]"

The record with mysql:
mysql> SELECT id, crypt, clear, uid, gid, home, maildir, quota, name FROM
users WHERE id = "[EMAIL PROTECTED]";
+----------------------+---------------+-------+------+------+-------------+
------------------+-------+-------+
| id                   | crypt         | clear | uid  | gid  | home        |
maildir
 | quota | name  |
+----------------------+-------+-------+------+------+-------------+--------
----------+-------+-------+
| [EMAIL PROTECTED] | ARYq.ahukAMhY | test  | 1008 | 1008 | /home/vmail |
/var/mail/test1/
 |  NULL | test1 |
+----------------------+---------------+-------+------+------+-------------+
------------------+-------+-------+
1 row in set (0.00 sec)

mysql>  

No trailing blanks in authmysqlrc

cat /etc/courier/authmysqlrc
MYSQL_SERVER            localhost
MYSQL_USERNAME  postfix
MYSQL_PASSWORD  XXXXXX
MYSQL_PORT              0
MYSQL_OPT               0
MYSQL_DATABASE          maildb
MYSQL_USER_TABLE        users
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
MYSQL_QUOTA_FIELD       quota


Any ideas how to find the issue?

Thanks 
Matthias



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to