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.