10 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Courier Authentic...
FromSent OnAttachments
Robert Samuel WhiteOct 31, 2005 1:29 am 
Robert Samuel WhiteOct 31, 2005 2:12 am 
Jerry AmundsonOct 31, 2005 8:02 am 
Gordon MessmerOct 31, 2005 9:25 am 
Robert Samuel WhiteOct 31, 2005 1:23 pm 
Gordon MessmerOct 31, 2005 1:37 pm 
Robert Samuel WhiteOct 31, 2005 1:59 pm 
Jay LeeOct 31, 2005 2:15 pm 
Gordon MessmerOct 31, 2005 3:23 pm 
Bill TaroliNov 1, 2005 7:26 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 Authentication (MySQL)Actions...
From:Gordon Messmer (yiny@eburg.com)
Date:Oct 31, 2005 9:25:23 am
List:net.sourceforge.lists.courier-users

Robert Samuel White wrote:

I can't seem to get the authentication part to work. At first, I was getting a strange error message, s_connect() failed, file not found.

That probably means that authdaemond wasn't running at the time.

This time it actually tries to login but comes back with username/password failed. It takes it a bit before it does this so I'm pretty sure it's actually doing something positive. One thing is certain though, I don't believe it is trying to connect to mysql at all for the authentication, and I'm not sure what I need to do to make that happen.

Have you tried enabling mysql logging to verify that?

[root@server log]# telnet localhost 110 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. +OK Hello there. user rs@rswfire.com +OK Password required. pass ***** -ERR Login failed.

What does the user's row in MySQL's table look like?

Oct 31 04:02:30 server courieresmtpd: started,ip=[::ffff:64.70.54.15] Oct 31 04:02:30 server courieresmtpd: error,relay=::ffff:64.70.54.15,msg="535 Authentication required.",cmd: MAIL FROM:<bulk@la1bms00.befree.com>

I know it's not what you're trying to fix, now, but did you enable "AUTH_REQUIRED" in smtpd? That's *probably* not what you wanted. That setting will cause all incoming mail to be rejected, unless the remote host authenticates itself.