From owner-freebsd-questions Wed Jun 12 13:56:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from empty1.ekahuna.com (empty1.ekahuna.com [198.144.200.196]) by hub.freebsd.org (Postfix) with ESMTP id 5AA4C37B40D for ; Wed, 12 Jun 2002 13:56:13 -0700 (PDT) Received: from pc-02 (pc02.ekahuna.com [198.144.200.197]) by empty1.ekahuna.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com; Wed, 12 Jun 2002 13:56:12 -0700 From: "Philip J. Koenig" Organization: The Electric Kahuna Organization To: questions@FreeBSD.ORG Date: Wed, 12 Jun 2002 13:56:11 -0700 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Sendmail library question/problem Reply-To: pjklist@ekahuna.com Cc: Adam Weinberger , Ruben de Groot , Dan Nelson In-reply-to: <20020612202004.GB56055@dan.emsphone.com> References: <20020612175959023.AAA583@empty1.ekahuna.com@pc02.ekahuna.com> X-mailer: Pegasus Mail for Win32 (v3.12c) Message-ID: <20020612205612975.AAA583@empty1.ekahuna.com@pc02.ekahuna.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 12 Jun 2002, at 15:20, Dan Nelson boldly uttered: > In the last episode (Jun 12), Philip J. Koenig said: > > On 12 Jun 2002, at 10:38, Adam Weinberger boldly uttered: > > > sure it does. i use it. > > > > > > $ echo "|/usr/local/bin/spamassassin" > ~/.forward > > > > > > -Adam > > > > But you're not using spamd for sitewide use, which is what I'm trying > > to do. This is why spamass-milter is necessary. (according to the > > spamassassin docs, such as they are) > > > > In any case, someone else reported the same problem over in stable: > > > From: "Martin Matuska" > > > > > > make installworld does not install the libsm.a and libsmutil.a > > > libraries from the sendmail 8.12.3 package (only libmilter is > > > installed). > > > > > > They remain in /usr/obj/usr/src/lib/libsm and > > > /usr/obj/usr/src/lib/libsmutil and are not installed to /usr/lib (but > > > some libmilter programs need them to build) > > This has been fixed in FreeBSD 4.6. I assume you are referring to 4.6-RELEASE (which isn't available yet) because at least 2 people have encountered this problem with 4.6-RC. > libmilter and its headers are installed; libsm is not > required for building milters. I'm not an expert on this, but all I know is that libsm.a is specifically referenced in the Makefile for spamass-milter-0.1.1: LIBS = /usr/lib/libmilter/libmilter.a /usr/lib/libmilter/libsm.a > Quick rundown for what's needed to get spamass-milter running: > > /usr/lib/libmilter.a or .so > /usr/include/libmilter/{mfapi,mfdef.h}.h > autoconf & automake from ports > > Go to savannah.gnu.org/projects/spamass-milt, check out the source from > CVS, and get the associated "fix 250k deadlock + better configure (try > #3)" patch (#349). Apply the patch. Then run ./autogen.sh, and make. > Copy the compiled spamass-milter to /usr/local/libexec, or wherever you > want. So you're saying that they fixed some problem where it was asking for libsm.a but it didn't really need it? > Add > > INPUT_MAIL_FILTER(`spamassassin',`S=local:/var/run/spamass.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl > > To your sendmail .mc file and regenerate the .cf. Run > > /usr/local/libexec/spamass-milter -p /var/run/spamass.sock -f > > , restart sendmail, and you're done. Make sure you also start > spamass-milter in rc.d someplace. Once my patch gets integrated into > CVS, it'd be a no-brainer to convert this into a port. Thanks for the specific information, I'll try it a bit later. Phil -- Philip J. Koenig pjklist@ekahuna.com Electric Kahuna Systems -- Computers & Communications for the New Millenium To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message