From owner-freebsd-current Sat Dec 23 18:25:28 2000 From owner-freebsd-current@FreeBSD.ORG Sat Dec 23 18:25:26 2000 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mail.westbend.net (ns1.westbend.net [209.224.254.131]) by hub.freebsd.org (Postfix) with ESMTP id 364F937B400 for ; Sat, 23 Dec 2000 18:25:26 -0800 (PST) Received: from admin.westbend.net (admin.westbend.net [209.224.254.141]) (authenticated) by mail.westbend.net (8.11.1/8.11.1) with ESMTP id eBO2POM01922; Sat, 23 Dec 2000 20:25:24 -0600 (CST) (envelope-from hetzels@westbend.net) Message-ID: <001801c06d50$a49037a0$8dfee0d1@westbend.net> From: "Scot W. Hetzel" To: "Leif Neland" , References: <01b401c06d3f$99f7e060$0e00a8c0@neland.dk> Subject: Re: making sendmail with milter and sasl Date: Sat, 23 Dec 2000 20:24:28 -0600 Organization: West Bend Interent 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.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: "Leif Neland" > Can I make make world make sendmail with milter and sasl / smtp auth just by > adding to make.conf? > > If so, how? > Currently, you need to a patch to enable the building and installing of libmilter, libsmutil, and the header files needed to build a Milter daemon. I just sent PR 23811 that contains the patch to enable Milter on both STABLE and CURRENT (minor fuzziness). http://www.freebsd.org/cgi/query-pr.cgi?pr=23811 So after applying the patch, add the following into your make.conf # See security/cyrus-sasl/files/Sendmail.README # SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL -D_FFR_UNSAFE_SASL SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl #SENDMAIL_DPADD= # SENDMAIL_MILTER= yes I have also put this patch at: ftp://www.westbend.net/pub/sendmail/milter.patch When you build your milter daemons you can use either a shared (-lmilter) or a static (/usr/lib/libmilter.a) libmilter library. cc -I/usr/include/sendmail -o sample sample.c -lmilter /usr/lib/libsmutil.a -pthread After you build your milter daemons, you will need to create a shell script that will start/stop the milter daemons. This script needs to be placed in PREFIX/etc/rc.milter (see src/lib/libmilter/sample.sh). Scot W. Hetzel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message