[KLUG Members] SMTP Auth: Continued.

Adam Bultman members@kalamazoolinux.org
Fri, 13 Dec 2002 12:50:52 -0500 (EST)


Hopefully, merely writing this email will jar me enough to find a
solution. However, I have found no help on newsgroups, web sites, or
anything. At least, not yet (I posted to a newsgroups, but I don't know if
I'll get anything I need).


So.  I've compiled sendmail.  I've compiled Cyrus SASL (no kerberos, with
plain, login, and PAM). Sendmail compiled correctly, too, and I can
authenticate with it if I give my user an sasl password. I can
authenticate and send mail with Kmail. Yay!


1.  I need auth LOGIN and auth PLAIN to work.  I'm 'accepting' them (it's
in my MC file, I built it into cyrus), but if I try to log in, I get:


Dec 13 17:37:03 mail sendmail[15448]: gBDMY7SM015448: AUTH failure
(plain): no mechanism available (-4) SASL(-4): no mechanism available:  Password verification failed

That's for plain. I get the same thing for LOGIN if I try LOGIN auth as
well.  Even telnetting in and doing it by hand doesn't work.

This is a problem because I would like my users to send mail correctly,
but you need LOGIN capabilities to let OE to authenticate and send mail.

2. I would like to use my shadow password to auth users intead of having a
second SASL password.  /usr/lib/sasl/Sendmail.conf has in it:
pwcheck_method: shadow

Which is supposed to force it to check the shadow file.  It does not, I
suppose.


Anyway, one might say that I didn't compile sendmail with PLAIN and LOGIN,
but I did.  The libraries are there, and they should have been compiled in
(and besides, wouldn't have sendmail complained when I started it?)  I'm
running sendmail with LogLevel=14, so I'm getting pretty verbose errors.

Anyway, if anyone has experience: Drop me a line.  I'd entertain just
about any theory. (not the qmail theory).

Adam


-- 
adamb@glaven.org
[ www.glaven.org ]