atom feed25 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Can't log in via ...
FromSent OnAttachments
James HomuthMar 26, 2007 2:56 am 
Bernd WurstMar 26, 2007 3:52 am 
Bernd WurstMar 26, 2007 3:54 am 
James HomuthMar 26, 2007 3:57 am 
Bernd WurstMar 26, 2007 4:02 am 
James HomuthMar 26, 2007 5:08 am 
Gordon MessmerMar 26, 2007 8:25 am 
James HomuthMar 26, 2007 8:48 am 
Gordon MessmerMar 26, 2007 9:34 am 
James HomuthMar 26, 2007 5:51 pm 
Gordon MessmerMar 26, 2007 9:57 pm 
Bernd WurstMar 26, 2007 10:35 pm 
James HomuthMar 27, 2007 3:19 am 
Gordon MessmerMar 27, 2007 6:46 am 
James HomuthMar 27, 2007 8:52 am 
Bernd WurstMar 27, 2007 10:29 am 
James HomuthMar 28, 2007 3:39 pm 
Bernd WurstMar 28, 2007 10:42 pm 
James HomuthMar 31, 2007 4:21 am 
James HomuthMar 31, 2007 4:25 am 
Bernd WurstMar 31, 2007 6:54 am 
James HomuthMar 31, 2007 7:32 am 
Bernd WurstMar 31, 2007 7:42 am 
James HomuthMar 31, 2007 9:05 am 
James HomuthMar 31, 2007 9:12 am 
Subject:Re: [courier-users] Can't log in via courier-pop3
From:James Homuth (jam@the-jdh.com)
Date:Mar 31, 2007 4:25:09 am
List:net.sourceforge.lists.courier-users

Okay, let's try with the actual complete query. SELECT email, password, "", 5000, 5000, "/home/vmail/nova.the-jdh.com/james/", "", "", "", "" -> FROM users WHERE email = "jam@nova.the-jdh.com" At 07:21 AM 3/31/2007, you wrote:

At 01:42 AM 3/29/2007, you wrote:

2. Build a new MYSQL_SELECT_CLAUSE upon the Query authdaemon issues at the moment with proper quotations.

Try this

MYSQL_SELECT_CLAUSE SELECT email, password, '', 5000, 5000, \ '/home/vmail/$(domain)/$(local_part)/', '', '', '', '' \ FROM users WHERE email = '$(local_part)@$(domain)'

I went right to trying this option because I'm fairly sure now that it doesn't process these variables anywhere other than the custom select field. And, while the query forms correctly (see below), I still can't log in. The query forms, the fields show up as they're supposed to, and mysql doesn't complain.

I wonder why the AUXOPTIONS-Field is not evaluated. I left it out because I think you can debug that if the other things are running.

I'm probably not even using it. I was aiming just to get the base query working before I started getting into specifics.

An important note for debugging: run the mysql command line interpreter with the same login credentials as used in authmysqlrc and run the mysql query from the logfile in it when you encounter errors. MySQL will tell you what's wrong or give you the same results that authdaemon gets and you'll propably see what's wrong.

I get a successful, error-free query (snip below), and the response from mysql that I expect (also below). But I still can't log in. Now, I think it might be an encription problem with the password, but the only thing I get told on various web sources is make sure mysql's using the OS level crypt function and not its own. And, so far as I'm aware, it is.

Mysql interaction snips: SELECT email, password, "", 5000, 5000, "/home/vmail/nova.the-jdh.com/james/", "", "", "", ""; +------------------------+------------------+--+------+------+-------------------------------------+--+--+--+--+ | email | password | | 5000 | 5000 | /home/vmail/nova.the-jdh.com/james/ | | | | | +------------------------+------------------+--+------+------+-------------------------------------+--+--+--+--+ | jam@nova.the-jdh.com | 67fada7e716dd205 | | 5000 | 5000 | /home/vmail/nova.the-jdh.com/james/ | | | | | +------------------------+------------------+--+------+------+-------------------------------------+--+--+--+--+ 1 row in set (0.00 sec)