From owner-freebsd-isp Tue Mar 28 12: 8:15 2000 Delivered-To: freebsd-isp@freebsd.org Received: from laf.cioe.com (laf.cioe.com [204.120.165.33]) by hub.freebsd.org (Postfix) with ESMTP id 2279E37BB34 for ; Tue, 28 Mar 2000 12:08:11 -0800 (PST) (envelope-from steve@ns1.cioe.com) Received: from ny1wsh031 (blackhole.cioe.com [204.120.165.44]) by laf.cioe.com (8.9.3/8.9.3) with SMTP id PAA67073 for ; Tue, 28 Mar 2000 15:08:06 -0500 (EST) (envelope-from steve@ns1.cioe.com) Message-ID: <023801bf98f1$4fa70770$851a050a@winstar.com> From: "Steven E. Ames" To: Subject: Finally: sendmail 8.10 and SMTP Auth Date: Tue, 28 Mar 2000 15:07:54 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Whew. I finally managed to get SMTP Auth working with sendmail 8.10 and FBSD. Here's the basic steps. If someone else has done this and it can be done more smoothly (or if I left something out thats going to bite me l8r) let me know... 1. Install cyrus-SASL from /usr/ports/security 2. Create /usr/local/lib/sasl/Sendmail.conf pwcheck_method: passwd 3. download the sendmail.8.10.0.tar.gz file. uncomress/untar it 4. Edit devtools/OS/FreeBSD -define(`confMAPDEF', `-DNEWDB -DNIS -DMAP_REGEX') -define(`confLIBS', `-lutil') +define(`confMAPDEF', `-DNEWDB -DNIS -DMAP_REGEX -DSASL=1') +define(`confLIBS', `-lutil -L/usr/local/lib -lsasl') 5. cd sendmail. sh Build && sh Build install 6. (sh Build && sh Build install) (do this in mail.local, etc...) 7. create a new .cf file cd cf/cf cp /usr/src/etc/senmail/freebsd.mc . edit freebsd.mc +TRUST_AUTH_MECH(`LOGIN') +define(`confAUTH_MECHANISMS',`LOGIN PLAIN') sh Build freebsd.cf cp freebsd.cf /etc/mail/sendmail.cf 8. Move /etc/aliases to /etc/mail/aliases and 'newaliases' 9. Modify /etc/make.conf: NO_SENDMAIL= true This line keeps 'make world' from overwriting the sendmail you just built with the version that comes with the OS. Until the OS version does what we want this is a necessary evil. And that should be that. Much fun. -Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message