Date: Sat, 26 May 2001 10:28:27 -0400 From: Mike Lambert <lambert@jeol.com> To: "Arthur W. Neilson III" <art@pilikia.net> Cc: <freebsd-stable@FreeBSD.ORG> Subject: Re: FreeBSD sendmail libmilter Message-ID: <Pine.SGI.4.33.0105260958540.604431-100000@titian.jeol.com> In-Reply-To: <200105252133160100.121F354E@smtp>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.4.33.0105260958540.604431-100000>