From owner-freebsd-stable Sat May 26 7:28:34 2001 Delivered-To: freebsd-stable@freebsd.org Received: from gris.jeol.com (gris.jeol.com [192.160.103.77]) by hub.freebsd.org (Postfix) with ESMTP id 6BDB537B422 for ; Sat, 26 May 2001 07:28:31 -0700 (PDT) (envelope-from lambert@jeol.com) Received: from titian.jeol.com (titian.jeol.com [192.160.103.2]) by gris.jeol.com (8.11.3/8.11.1) with ESMTP id f4QESRx27331; Sat, 26 May 2001 10:28:27 -0400 (EDT) (envelope-from lambert@jeol.com) Date: Sat, 26 May 2001 10:28:27 -0400 From: Mike Lambert To: "Arthur W. Neilson III" Cc: Subject: Re: FreeBSD sendmail libmilter In-Reply-To: <200105252133160100.121F354E@smtp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 25 May 2001, Arthur W. Neilson III wrote: > Recently I downloaded amavis-perl-11 and want to implement it using the miltering > interface. It's not clear to me how to build the sendmail 8.11.3 which is integrated > with FreeBSD 4.3 with libmilter support. Having just recently gone through this very maze, I think I can answer with some accuracy. The short answer: You can't. If you want sendmail with the milter API enabled, you need to build sendmail from ports. > I see there is a milter.o in the > /usr/obj/usr/src/usr.sbin/sendmail dir however I don't see the -D_FFR_MILTER=1 > in the flags when I recompile so I suppose that is needed in make.conf and > when sendmail link edits I don't see libmilter linked in. How do I get libmilter > support compiled into Freebsd sendmail so I can use the milter filter to run > relayed mail thru amavis and uvscan?? The longer answer: The FreeBSD way breaks up the build process of sendmail and it's companion parts such that each part has a separate Makefile in a dedicated directory: /usr/src/usr.sbin/sendmail/Makefile /usr/src/usr.sbin/mailstats/Makefile /usr/src/usr.bin/vacation/Makefile /usr/src/lib/libsmdb/Makefile /usr/src/lib/libsmutil/Makefile etc. I will guess that as the milter API is tagged as "for future release" by Sendmail, the FreeBSD folks have not yet included the feature in the STABLE makefile tree. Perhaps this feature is included in CURRENT? Building sendmail from ports with -D_FFR_MILTER in all the appropriate places will yield a milter enabled sendmail that seems to work just fine. Regards, Mike Lambert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message