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, [EMAIL PROTECTED], 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.)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap