Michael Nguyen writes:
Hey guys,
I'm having a weird issue with my brand new Courier server. I'm running Courier IMAP 4.0.1 and Courier-authlib 0.53 with the MySQL module. Everytime this particular user logs in, they get the following error:
Escape character is '^]'. +OK Hello there. user daryn +OK Password required. pass green7peas -ERR Temporary problem, please try again later
The logs show the following:
Feb 8 02:30:42 m12 pop3d: LOGIN FAILED, user=daryn, ip=[::ffff:127.0.0.1] Feb 8 02:30:42 m12 pop3d: authentication error: Input/output error Feb 8 02:30:42 m12 authdaemond: stopping authdaemond children Feb 8 02:30:42 m12 authdaemond: restarting authdaemond children Feb 8 02:30:42 m12 authdaemond: modules="authmysql", daemons=10 Feb 8 02:30:42 m12 authdaemond: Uninstalling authmysql Feb 8 02:30:42 m12 authdaemond: Installing libauthmysql Feb 8 02:30:42 m12 authdaemond: Installation complete: authmysql
I'm not sure what's happening here. The logs show the SQL query (the query looks fine). The SQL server shows the query getting passed and answered. I tried destroying the user's maildir and recreating it and the problem still exists. There's nothing obviously wrong here with the user that I can see. What might be going on here?
Oh another thing...the error comes back very quickly. I can type the incorrect password and I get the same error. As a contrast, on a working user, if I type the wrong password then the logs show authdaemond rolling to the next auth module. In the case above, authdaemond seems to crash.
Right. Some kind of a misconfiguration causes a crash.
Try setting DEBUG_LOGIN=2, which will provide more information as to what was going leading up to the crash.
pgp3nOsxMS15P.pgp
Description: PGP signature
