Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2002 16:16:17 -0600
From:      jicit@softhome.net
To:        freebsd-questions@freebsd.org
Cc:        jason@infinitebubble.com
Subject:   Sendmail SMTP_Auth (MD5)
Message-ID:  <courier.3D5590B1.00002079@softhome.net>

next in thread | raw e-mail | index | archive | help
How do I make CRAM-MD5 and DIGEST-MD5 available as auth mechanisms in 
Sendmail? 

I installed cyrus-sasl and during the make process there was output that 
said both were enabled (as were LOGIN, PLAIN, and GSSAPI).  The libraries 
are in /usr/local/lib/sasl: 

test# ll /usr/local/lib/sasl
total 158
 -rw-r--r--  1 root  wheel     24 Aug 10 15:00 Sendmail.conf
 -rw-r--r--  1 root  wheel   3612 Aug 10 15:00 libanonymous.a
lrwxr-xr-x  1 root  wheel     17 Aug 10 15:00 libanonymous.so -> 
libanonymous.so.1
 -rwxr-xr-x  1 root  wheel   7190 Aug 10 15:00 libanonymous.so.1
 -rw-r--r--  1 root  wheel   8264 Aug 10 15:00 libcrammd5.a
lrwxr-xr-x  1 root  wheel     15 Aug 10 15:00 libcrammd5.so -> 
libcrammd5.so.1
 -rwxr-xr-x  1 root  wheel  12268 Aug 10 15:00 libcrammd5.so.1
 -rw-r--r--  1 root  wheel  28992 Aug 10 15:00 libdigestmd5.a
lrwxr-xr-x  1 root  wheel     17 Aug 10 15:00 libdigestmd5.so -> 
libdigestmd5.so.0
 -rwxr-xr-x  1 root  wheel  32314 Aug 10 15:00 libdigestmd5.so.0
 -rw-r--r--  1 root  wheel  10268 Aug 10 15:00 libgssapiv2.a
lrwxr-xr-x  1 root  wheel     16 Aug 10 15:00 libgssapiv2.so -> 
libgssapiv2.so.1
 -rwxr-xr-x  1 root  wheel  14552 Aug 10 15:00 libgssapiv2.so.1
 -rw-r--r--  1 root  wheel   5988 Aug 10 15:00 liblogin.a
lrwxr-xr-x  1 root  wheel     13 Aug 10 15:00 liblogin.so -> liblogin.so.0
 -rwxr-xr-x  1 root  wheel   9547 Aug 10 15:00 liblogin.so.0
 -rw-r--r--  1 root  wheel   5516 Aug 10 15:00 libplain.a
lrwxr-xr-x  1 root  wheel     13 Aug 10 15:00 libplain.so -> libplain.so.1
 -rwxr-xr-x  1 root  wheel   9254 Aug 10 15:00 libplain.so.1 

The pertinent lines from my .mc: 

TRUST_AUTH_MECH(`LOGIN PLAIN DIGEST-MD5 CRAM-MD5 GSSAPI')dnl
define(`confAUTH_MECHANISMS', `LOGIN PLAIN DIGEST-MD5 CRAM-MD5 GSSAPI')dnl 

and my telnet session: 

test# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.infinitebubble.com.
Escape character is '^]'.
220 test.infinitebubble.com ESMTP Sendmail 8.12.5/8.12.5; Sat, 10 Aug 2002 
15:10:55 -0700 (PDT)
ehlo localhost
250-test.infinitebubble.com Hello localhost.infinitebubble.com [127.0.0.1], 
pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH LOGIN PLAIN GSSAPI
250-DELIVERBY
250 HELP 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?courier.3D5590B1.00002079>