On Fri, Feb 16, 2007 at 11:15:16AM +0000, Andy Shellam (Mailing Lists) wrote:
> 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.

For more details on how to do this:
http://www.courier-mta.org/authlib/README.authdebug.html

> 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,
> authtype=login
> 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

It looks like some debugging has been turned on. However,

1. you also need to be running with a fairly recent version of
courier-authlib

2. you need to have the authmysql module installed and working in the first
place

To check (2), after you have turned on debug logging, stop and restart
authdaemond, then look in the debug logs before you send any queries.

If you see something like

Oct 17 11:25:37 commodore authdaemond: Installing libauthmysql
Oct 17 11:25:37 commodore authdaemond: libauthmysql.so: cannot open shared 
object file: No such file or directory

then either libauthmysql.so is not loaded, or the libraries it depends on
are not in the run-time linker path.

Post the whole debug log from restarting authdaemond, and the whole debug
log from when a request comes in.

B.

-------------------------------------------------------------------------
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

Reply via email to