-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey all,

I just managed to figure out a fix for this problem, so I'm sending this to the
lsit in the hope it will help somebody else having this later.

Apparently, if ESMTPAUTH is empty, no authentication is considered valid, even
if the connection is over SSL or TLS. (I didn't want to enable authentication
over an unecrypted connection, so I enabled nothing for non-TLS connections.)
Adding anything to that field made authentication work over SSL. (In order to
keep passwords from being send in the clear, I only added CRAM-MD5.) Perhaps
this is a bug?

Hope this helps somebody else later,
Jonathan Sailor
_
"Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect." -Linus Torvalds

- ---------- Forwarded message ----------
Date: Sun, 16 Nov 2003 10:39:13 -0500 (EST)
From: Jonathan Sailor <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: SMTP Rejects Valid Authentication

Hi,

I recently switched to courier for my mail system, and almost everything's
working great. However, SMTP authentication is not. Whenever I try to
authenticate, using what I know to be a valid username/password, I get a
        535 Authentication rejected
error. The relevant parts of my /etc/courier/esmtpd are:
        ESMTPAUTH_TLS="PLAIN LOGIN"
        AUTHMODULES="authdaemon"
I am using TLS, and I know the authdaemon is working because imap and pop
authentication work fine. It also can't be a problem with PAM, because imap and
smtp, in /etc/pam.d, are the same. Google-ing hasn't turned up anything.

Does anybody have any ideas?

Jonathan Sailor
- -
"Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect." -Linus Torvalds
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iEYEARECAAYFAj+74tsACgkQawvJL8S14J/17ACeJdcF9QuZqbbc+HSQX5xp1F3T
NjUAnjNFQTSTmdych2RRochWQJWCsjm0
=fCaT
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to