[WBEL-users] Sendmail SMTP Auth fail after upgrade

Johnny Hughes mailing-lists@hughesjr.com
Tue, 22 Jun 2004 15:34:38 -0500


--=-1svBniMHFjLqyRaX7dy4
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

I had the same problem...the issue is that some files are now missing
that where originally there.

I don't remember exactly with config files were missing, but they we
from sasl2.

The possible files are:

/usr/lib/sasl2/smtpd.conf
(it should say pwcheck_method: saslauthd)

/etc/sysconfig/saslauthd
(it should say MECH=pam)

Then run:

alternatives --config mta

and set it to sendmail

In order to use PAM (ie, normal linux users with passwd / shadow
usernames and passwords) as your SMTP authentication method, you MUST
allow (and use) PLAIN text or Login as your Mail Client authenication
method.

- Johnny Hughes
On Tue, 2004-06-22 at 10:20, P.Agenbag wrote:

> Hi List
> 
> I've recently installed Cyrus-Imap 2.2.3 with MailScanner and ClamAv on
> my WB server and all was working 100% fine until yum installed the
> latest version of sendmail (8.12.11).
> 
> Now, although all users can still receive mail ( and thus authenticate
> when receiving), when they try to send out, the server fails to
> authenticate them even though I know that they have entries in sasldb2.
> 
> I posted this question on other forums as well, and the only reply so
> far has something to do with the new version of sendmail that apparently
> has LDAP support compiled in, and LDAp also needs SASL to authenticate.
> What seems to have happened is that LDAP cannot work with SASL2, so that
> is supposedly why SMTP ( which worked fine with SALS2) does not work
> anymore...
> 
> So, even though I know why it's not working, I still don't know how to
> fix this problem, since I don't know how to use SASL v1 instead of
> SASL2? I have both /usr/lib/sasl AND /usr/lib/sasl2.
> 
> Does anyone on this list have experience with resolving this issue?(I
> saw related posts from a couple of months ago, but no resolutions)
> 
> Regards
> 
> 
> 
> _______________________________________________
> Whitebox-users mailing list
> Whitebox-users@beau.org
> http://beau.org/mailman/listinfo/whitebox-users

--=-1svBniMHFjLqyRaX7dy4
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
I had the same problem...the issue is that some files are now missing that where originally there.<BR>
<BR>
I don't remember exactly with config files were missing, but they we from sasl2.<BR>
<BR>
The possible files are:<BR>
<BR>
<B>/usr/lib/sasl2/smtpd.conf</B><BR>
(it should say <B>pwcheck_method: saslauthd</B>)<BR>
<BR>
<B>/etc/sysconfig/saslauthd</B><BR>
(it should say <B>MECH=pam</B>)<BR>
<BR>
Then run:<BR>
<BR>
<B>alternatives --config mta</B><BR>
<BR>
and set it to sendmail<BR>
<BR>
In order to use PAM (ie, normal linux users with passwd / shadow usernames and passwords) as your SMTP authentication method, you MUST allow (and use) PLAIN text or Login as your Mail Client authenication method.<BR>
<BR>
- Johnny Hughes<BR>
On Tue, 2004-06-22 at 10:20, P.Agenbag wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>Hi List

I've recently installed Cyrus-Imap 2.2.3 with MailScanner and ClamAv on
my WB server and all was working 100% fine until yum installed the
latest version of sendmail (8.12.11).

Now, although all users can still receive mail ( and thus authenticate
when receiving), when they try to send out, the server fails to
authenticate them even though I know that they have entries in sasldb2.

I posted this question on other forums as well, and the only reply so
far has something to do with the new version of sendmail that apparently
has LDAP support compiled in, and LDAp also needs SASL to authenticate.
What seems to have happened is that LDAP cannot work with SASL2, so that
is supposedly why SMTP ( which worked fine with SALS2) does not work
anymore...

So, even though I know why it's not working, I still don't know how to
fix this problem, since I don't know how to use SASL v1 instead of
SASL2? I have both /usr/lib/sasl AND /usr/lib/sasl2.

Does anyone on this list have experience with resolving this issue?(I
saw related posts from a couple of months ago, but no resolutions)

Regards



_______________________________________________
Whitebox-users mailing list
Whitebox-users@beau.org</FONT>
<A HREF="http://beau.org/mailman/listinfo/whitebox-users"><U>http://beau.org/mailman/listinfo/whitebox-users</U></I></A></PRE>
</BLOCKQUOTE>
</BODY>
</HTML>

--=-1svBniMHFjLqyRaX7dy4--