Hey,
Could anyone give me a hand debugging my courier-imap problem? I've set up Postfix and courier-imap to replace Qmail and it's not letting me log in. I'll post some basics of my setup, I'm using MySQL for authlib.
Running daemons (checked with ps):
mysqld
courier-authlib
courier-imapd-ssl
postfix
authdaemonrc:
Code:
authmodulelist="authmysql"
authmodulelistorig="authuserdb authshadow authpgsql authldap authmysql authcustom"
daemons=5
authdaemonvar=/var/run/courier
DEBUG_LOGIN=2
DEFAULTOPTIONS=""
authmysqlrc:
Code:
MYSQL_CRYPT_PWFIELD password
MYSQL_DATABASE ****
MYSQL_GID_FIELD '73'
MYSQL_HOME_FIELD '/var/spool/mail/'
MYSQL_LOGIN_FIELD username
MYSQL_MAILDIR_FIELD maildir
MYSQL_NAME_FIELD name
MYSQL_OPT 0
MYSQL_PASSWORD ****
MYSQL_SERVER localhost
MYSQL_UID_FIELD '73'
MYSQL_USERNAME ****
MYSQL_USER_TABLE mailbox
Sample log when I try to log in (verbose isn't in these guys dictionary):
Code:
Jun 7 22:56:24 marvin imapd-ssl: Connection, ip=[::ffff:192.168.1.1]
Jun 7 22:56:24 marvin imapd-ssl: LOGIN FAILED, method=PLAIN, ip=[::ffff:192.168.1.1]
Jun 7 22:56:29 marvin imapd-ssl: LOGIN FAILED, user=me@camdaniel.com, ip=[::ffff:192.168.1.1]
Jun 7 22:56:37 marvin imapd-ssl: LOGOUT, ip=[::ffff:192.168.1.1], rcvd=101, sent=352
I've tried connecting directly on the port using openssl and it won't let me login. The database schema is referred to correctly in authmysqlrc, the file contains no spaces (only tabs) and in the database I'm using boring old MD5() for the password. Any ideas at all? Even a way to make it print semi-useful logs, I've been at this for hours and I can't make any sense of it, the password is correct I'm 100% sure of that.
I'm hoping I'm over looking something simple, Postfix works fine I can see in the logs that it's receiving mail fine but I just can't login to the IMAP server to read it
Any ideas, tips, pointers would be greatly appreciated