I have setup freebsd 6.2 with postfix, courier-imap with mysql backend,
but everytime i try to login via squirrelmail or roundcube, i get the
following error in my maillog file
Feb 13 22:39:30 zz imapd: LOGIN FAILED, user=xx...@yy.dk, ip=[127.0.0.1]
13 22:39:30 zz imapd: authentication error: Input/output error
I need some help, please ;)
Whenever I've seen this, it's been a problem with the authentication
daemon talking to the database (in your case, MySQL.)
Turn up the debugging options in the authentication daemon config file,
restart the daemon, and use the "authtest" program to check before you
try and login to Courier IMAP.
That will log any MySQL-related errors.
I turned on the debug option, and got the following in the debug.log
Feb 15 18:02:30 odin imapd: Connection, ip=[127.0.0.1]
Feb 15 18:02:30 odin authdaemond: received auth request, service=imap,
Feb 15 18:02:30 odin authdaemond: authmysql: trying this module
Feb 15 18:02:30 odin authdaemond: authmysql: TEMPFAIL - no more modules
will be tried
Another thread on this mailing list, about the same error but with ldap -
I dont have the /var/spool/authdaemon directory, should i have that?