7 messages in net.sourceforge.lists.courier-usersRE: [courier-users] SMTP AUTH: how to...
FromSent OnAttachments
Ben KennedyAug 26, 2003 1:45 pm 
Mitch (WebCob)Aug 26, 2003 2:41 pm 
Ben KennedyAug 26, 2003 2:45 pm 
Sam VarshavchikAug 26, 2003 3:01 pm 
Ben KennedyAug 26, 2003 3:47 pm 
Sam VarshavchikAug 26, 2003 5:30 pm 
Ben KennedyAug 26, 2003 6:40 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: [courier-users] SMTP AUTH: how to make it work?Actions...
From:Mitch (WebCob) (mit@webcob.com)
Date:Aug 26, 2003 2:41:10 pm
List:net.sourceforge.lists.courier-users

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