atom feed17 messages in net.sourceforge.lists.courier-imapRe: [Courier-imap] imapd: authenticat...
FromSent OnAttachments
Ebbe HjorthFeb 13, 2007 11:43 pm 
Andy Shellam (Mailing Lists)Feb 14, 2007 2:54 am 
Andy Shellam (Mailing Lists)Feb 14, 2007 8:19 am 
Ebbe HjorthFeb 14, 2007 11:22 am 
Ebbe HjorthFeb 16, 2007 1:34 am 
Andy Shellam (Mailing Lists)Feb 16, 2007 3:14 am 
Brian CandlerFeb 17, 2007 12:10 am 
Ebbe HjorthFeb 18, 2007 4:55 am 
Andy Shellam (Mailing Lists)Feb 18, 2007 5:00 am 
Brian CandlerFeb 18, 2007 6:01 am 
Ebbe HjorthFeb 18, 2007 11:53 pm 
Andy Shellam (Mailing Lists)Feb 19, 2007 12:26 am 
Ebbe HjorthFeb 19, 2007 6:21 am 
Andy Shellam (Mailing Lists)Feb 19, 2007 8:15 am 
Ebbe HjorthFeb 19, 2007 12:07 pm 
Miguel GómezFeb 22, 2007 5:24 am 
Sam VarshavchikFeb 22, 2007 3:22 pm 
Subject:Re: [Courier-imap] imapd: authentication error: Input/output error
From:Andy Shellam (Mailing Lists) (andy@mailnetwork.co.uk)
Date:Feb 14, 2007 8:19:57 am
List:net.sourceforge.lists.courier-imap

Ebbe Hjorth wrote:

Ebbe Hjorth wrote:

Hi,

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] Feb 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.

Okay ;) The authtest says the input/output error, and the debug.log shows

Feb 14 15:24:21 odin imapd: Connection, ip=[127.0.0.1] Feb 14 15:24:21 odin authdaemond: received auth request, service=imap, authtype=login Feb 14 15:24:21 odin authdaemond: authmysql: trying this module Feb 14 15:24:21 odin authdaemond: authmysql: TEMPFAIL - no more modules will be tried

But i have authmodulelist="authmysql" in my authdaemon, and started the daemon from my /etc/rc.conf with "/usr/local/sbin/authdaemond start"

Don't forget to copy the list in on your replies so others can help ;-)

Turn up your debugging options in authdaemonrc (DEBUG_LOGIN=1) , and restart your auth daemon (/usr/local/sbin/authdaemond restart) - try the test again and it should log why the query failed, but generally it's because something's amiss in your MySQL config file (authmysqlrc.)