15 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] Invalid userid or pas...
FromSent OnAttachments
CassandraDec 20, 2006 2:38 pm 
Sam VarshavchikDec 20, 2006 3:13 pm 
Brian CandlerDec 22, 2006 1:25 am 
CassandraDec 22, 2006 12:49 pm 
CassandraDec 22, 2006 1:32 pm 
Sam VarshavchikDec 22, 2006 3:14 pm 
CassandraDec 22, 2006 4:34 pm 
Sam VarshavchikDec 22, 2006 6:53 pm 
CassandraDec 25, 2006 11:37 pm 
Sam VarshavchikDec 26, 2006 3:15 am 
Brian CandlerDec 29, 2006 12:39 pm 
timDec 29, 2006 12:54 pm 
CassandraDec 29, 2006 2:37 pm 
Brian CandlerDec 30, 2006 1:37 pm 
Lars Olav TveitoDec 30, 2006 5:29 pm 
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: [sqwebmail] Invalid userid or passwordActions...
From:Cassandra (deb@homenetnw.net)
Date:Dec 22, 2006 1:32:38 pm
List:net.sourceforge.lists.courier-sqwebmail

Hi, Brian. Thank you for the response.

Re: Invalid userid or password From: Brian Candler <B.Candler@po...> - 2006-12-22 01:23

On Wed, Dec 20, 2006 at 02:39:21PM -0800, Cassandra wrote: courier-authlib, and sqwebmail. I followed the instructions as outlined in the sqwebmail INSTALL file. sqwebmail starts and is running (ps aux | grep sqwebmail), and I get the login page. However, no matter which user I try to log in as, I get the message "Invalid Userid and Password."

Follow the instructions at http://www.courier-mta.org/authlib/README.authdebug.html to debug this problem.

Done. Courier-authlib seems to be working fine. I can log in using an email
client, and everything works fine. I can telnet to all the ports listed in the
"Debugging authentication problems" document without any problem. The problem
is I cannot get sqwebmail to authenticate. It looks like it isn't even trying.

You can take sqwebmail out of the equation entirely by using authtest <username> <password> at the command line.

I tried this and got "ERR: authdaemon: s_connect() failed: Connection refused
Authentication FAILED: Illegal seek." However, I can authenticate with an email
client and also by telnetting to the various ports.

Also, during sqwebmail setup, it never asked for any kind of MySQL authentication information (which surprised me a bit!).

OK, I admit--I had been up for about 36 hours when I wrote this. Too much Diet
Coke and NoDoz!

That's part of courier-authlib's configuration. The config files are authdaemonrc and authmysqlrc. It's up to you to configure these to meet your requirements. If you have a backup of the old E-mail server then you can use the old files as a guide, although I'd recommend starting with the new file and updating each parameter by hand.

Yes, these are correct and working fine, I assume--since everyone can log in
using their email clients.

HTH,