4 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Courier-imap seem...
FromSent OnAttachments
David PrimeAug 28, 2006 8:25 am 
Sam VarshavchikAug 28, 2006 3:34 pm 
Stefan HornburgAug 29, 2006 1:16 am 
Martin OrrAug 29, 2006 3:35 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Courier-imap seems to fail to call courier-auth properly (debian stable, mysql5 from backports)Actions...
From:Martin Orr (mar@martinorr.name)
Date:Aug 29, 2006 3:35:56 am
List:net.sourceforge.lists.courier-users

On 28/08/06 16:26, David Prime wrote:

Hi all,

Using Debian stable with courier-auth .47 and courier-imap 3.0.8 I get some
strange results. The main symptom is the inability to login via an IMAP client to the server. I
run a mysql auth backend with the courier-authmysql v0.47 package.

Now normally I'd look to my database config and the authdaemonrc etc, but when I
run the authtest program it queries the database perfectly and authenticates as expected. It is
only when sending requests to the imap server (ie from webmail or from thunderbird and even from
telnet manually) that I get auth failures. I've tried turning on maximum debugging etc but there
seems to be very little that actually does get logged.

You could try uncommenting the line log = /var/log/mysql/mysql.log in /etc/mysql/my.cnf.

Then all the SQL queries will be logged in /var/log/mysql/mysql.log and you can compare the queries used by authtest and imaplogin.