Have you configured the client to authenticate? Which client?
m/
-----Original Message-----
From: cour...@lists.sourceforge.net
[mailto:cour...@lists.sourceforge.net]On Behalf Of Ben
Kennedy
Sent: Tuesday, August 26, 2003 1:43 PM
To: Courier Users
Subject: [courier-users] SMTP AUTH: how to make it work?
Hi all,
I have been running the courier suite for about a month now, and for the
most part everything has been smooth.
Now, I want to enable support for SMTP authentication such that remote
trusted users may relay through my server.
I expected this would be as easy as ensuring the AUTHMODULES and
ESMTPAUTH variables were set in /etc/courier/esmtpd. Well, despite
everything I try, authentication fails:
Aug 26 16:40:42 reverb courieresmtpd: started,ip=[66.11.173.61]
Aug 26 16:40:42 reverb courieresmtpd: error,relay=66.11.173.61,msg="535
Authentication failed.",cmd: AUTH CRAM-MD5
esmtpd has these lines enabled, as per the comments therein:
AUTHMODULES="authdaemon"
ESMTPAUTH="LOGIN CRAM-MD5"
Authdaemon uses authpam,authmysql in that order. For the hell of it I
have added authcram to the list, both at the top and bottom, and it makes
no difference.
The docs allude that authcram can only look up credentials in userdb
files, which would be maddeningly obtuse, but I've even created a user
entry with userdbpw then makeuserdb, and the results are the same.
POP3/imap and normal non-authenticated SMTP work fine.
What am I overlooking?
-ben