Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Sendmail + SMTP AUTH w/ RedHat 7.0

1 view
Skip to first unread message

fcsa...@my-deja.com

unread,
Jan 25, 2001, 12:04:28 PM1/25/01
to
It's 2 weeks I have been trying unsuccesfully to install authentication
with Sendmail. The goal is to relay messages based in a password
authentication, so avoinding improper use of the server by spammers.
Other methods of restriction, like an access list, don't apply to my
case.

I'm installing this over an out of the box RedHat 7.0. So my system
includes:
- cyrus-sasl-1.5.24-6.i386
- openssl-0.9.5a-14.i386
- sendmail-8.11.0-8.i386
- sendmail-cf-8.11.0-8.i386
- sendmail-doc-8.11.0-8.i386

I have followed every indication of the sendmail.org site. This is to:
- recompile the sendmail.cm adding TRUST_AUTH_MECH('LOGIN PLAIN')dnl
and define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dln
- add a /etc/pam.d/smtp file with:
auth required /lib/security/pam_pwdb.so shadow
account required /lib/security/pam_pwdb.so
session required /lib/security/pam_pwdb.so
- add /usr/lib/sasl/smtp.conf with pwcheck_method: PAM

I also made the symbolic links:
- /usr/lib/sasl -> /usr/local/lib/sasl
- /usr/lib/libsasl* -> /usr/local/lib/sasl/libassl*

Some of the older posts in the net (see list of links below) recomend
to recompile instead of intalling the RPMS. I tryied to recompile
openssl, cyrus-sasl and sendmail. But the never runned ok with RedHat.
Sendmail proved tricy to install but after adding the NEWDB flag (and
installing db3-devel-3.1.14) got installed. The problem was that when
invoked terminated abruptly (before displaying anything).

I guess I'm not very far from having it running because I can see the
AUTH LOGIN PLAIN line in response to EHLO LOCALHOST. Bue now I have no
idea what else to try and I'm begining to feel exhausted.

If you were able to solve this problem, I would appreciate your help.

Thanks,

Felipe Csaszar


PD: here are my bookmarks regarding sendmail auth login. They may be
use ful for some of you.

http://www.sendmail.org/~ca/email/cyrus/sysadmin.html
http://www.sendmail.org/~ca/email/auth.html
http://www.sendmail.org/~ca/email/starttls.html
http://x66.deja.com/[ST_rn=fs]/getdoc.xp?
AN=593129715&CONTEXT=980056466.491716611&hitnum=29
http://boudicca.tux.org/mhonarc/ma-linux/2000-Jun/msg00178.html
http://sendmail.net/?feed=usingsmtpauth
http://www.mn-linux.org/members/tanner/HOWTO/Sendmail+SASL-HOWTO.html
http://www.cm.nu/~shane/lists/comp.mail.sendmail-2000-10/0020.html


Sent via Deja.com
http://www.deja.com/

Hal Burgiss

unread,
Jan 25, 2001, 5:58:03 PM1/25/01
to
On Thu, 25 Jan 2001 17:04:28 GMT, fcsa...@my-deja.com
<fcsa...@my-deja.com> wrote:
>It's 2 weeks I have been trying unsuccesfully to install authentication
>with Sendmail. The goal is to relay messages based in a password
>authentication, so avoinding improper use of the server by spammers.
>Other methods of restriction, like an access list, don't apply to my
>case.

I haven't a clue as how to do what you want, but there is much easier
ways to block unwanted use by spammers. If this piques your interest,
see the README.cf file under 'relaying' and 'access_db'.

--
Hal B
h...@foobox.net
h...@burgiss.net
hbur...@bellsouth.net
--

0 new messages