Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2001 10:04:27 -1000
From:      "Arthur W. Neilson III" <art@pilikia.net>
To:        freebsd-stable@freebsd.org
Subject:   Sendmail AUTH
Message-ID:  <200105171004270570.1406B14A@smtp>

next in thread | raw e-mail | index | archive | help
Thanks for the help with recompiling sendmail, I added the following to my=
 make.conf

#
# Let's build sendmail with SASL support (SMTP AUTH)
#
SENDMAIL_CFLAGS=3D-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=3D-L/usr/local/lib
SENDMAIL_LDADD=3D-lsasl
SENDMAIL_MC=3D/etc/mail/pilikia.mc

went into /usr/src/lib/libsmutil and did 

make obj
make depend
make

then in /usr/src/usr.sbin/sendmail

make obj
make depend
make 
make install

then run sendmail with debugging to see the options

art@pilikia# sendmail -d0.1 -bv root
Version 8.11.3
 Compiled with: MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND
                NETINET NETINET6 NETUNIX NEWDB NIS QUEUE SASL SCANF SMTP
                STARTTLS TCPWRAPPERS USERDB XDEBUG

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D SYSTEM IDENTITY (after readcf)=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
      (short domain name) $w =3D pilikia
  (canonical domain name) $j =3D pilikia.net
         (subdomain name) $m =3D net
              (node name) $k =3D pilikia.net
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D

root... deliverable: mailer local, user root

looks good, SASL support appears to be there...

in my /etc/mail/pilikia.mc I added

dnl set SASL options
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5')dnl
define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl

and did a make install and restarted sendmail  however when I telnet to my=
 25
and do an EHLO I don't see 250-AUTH listed ...

art@pilikia# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 pilikia.net ESMTP Sendmail 8.11.3/8.11.3; Thu, 17 May 2001 09:56:07=
 -1000 (H
ST)
ehlo localhost
250-pilikia.net Hello root@localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-SIZE
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP
auth
503 5.3.3 AUTH mechanism  not available
quit
221 2.0.0 pilikia.net closing connection
Connection closed by foreign host.

What gives?  Obviously I'm missing some piece of the puzzle.  Does someone
else who's been through this excersize before know what's going on?

--
    __
   /  )    _/_  It is a capital mistake to theorise before one has data.
  /--/ __  /    Insensibly one begins to twist facts to suit theories,
 /  (_/ (_<__   Instead of theories to suit facts.
                     -- Sherlock Holmes, "A Scandal in Bohemia"
 Arthur W. Neilson III, WH7N - FISTS #7448
 Bank of Hawaii Tech Support
 http://www.pilikia.net
 art@pilikia.net, aneilson@boh.com, wh7n@arrl.net



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105171004270570.1406B14A>