From owner-freebsd-stable Sat May 26 12: 7: 9 2001 Delivered-To: freebsd-stable@freebsd.org Received: from ns1.pilikia.net (ns1.pilikia.net [63.173.194.12]) by hub.freebsd.org (Postfix) with ESMTP id 53DFB37B422 for ; Sat, 26 May 2001 12:07:04 -0700 (PDT) (envelope-from art@pilikia.net) Received: from gecko (gecko.local.net [10.25.0.9]) by ns1.pilikia.net (8.11.3/8.11.3) with ESMTP id f4QJ6tr67874; Sat, 26 May 2001 09:06:55 -1000 (HST) (envelope-from art@pilikia.net) Message-ID: <200105260906560000.149A5CD1@smtp> In-Reply-To: References: X-Mailer: Calypso Version 3.20.02.00 (3) Date: Sat, 26 May 2001 09:06:56 -1000 Reply-To: art@pilikia.net From: "Arthur W. Neilson III" To: "Mike Lambert" Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD sendmail libmilter Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 Well, I was able to recompile sendmail with libmilter support contrary to= what you say however I need to test to make sure it's gonna work. Here's what I did: 1) created dir /usr/src/lib/libmilter 2) copied /usr/src/libsmutil/Makefile /usr/src/lib/libmilter 3) edited the SRCS+=3D line to contain the names of the .c files found in /usr/src/contrib/sendmail/libmilter 4) changed LIB=3D from smutil to milter 5) changed .PATH: to ${SENDMAIL_DIR}/libmilter 6) added -D_FFR_MILTER to SENDMAIL_CFLAGS in /etc/make.conf 7) added /usr/obj/usr/src/lib/libmilter/libmilter.a to SENNDMAIL_LDADD in /etc/make.conf 8) cd back to /usr/src/lib/libmilter make obj;make depend;make 9) cd to /usr/src/usr.sbin/sendmail make obj;make depend;make;make install everything seemed to build properly however I can't be sure until I test= :^). On 5/26/01 at 10:28 AM Mike Lambert wrote: > >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. -- __ / ) _/_ 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