From owner-freebsd-questions Wed Jun 12 13:20:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 2728D37B409 for ; Wed, 12 Jun 2002 13:20:18 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.12.3/8.12.3) id g5CKK4wm041428; Wed, 12 Jun 2002 15:20:04 -0500 (CDT) (envelope-from dan) Date: Wed, 12 Jun 2002 15:20:04 -0500 From: Dan Nelson To: "Philip J. Koenig" Cc: Adam Weinberger , Ruben de Groot , questions@FreeBSD.ORG Subject: Re: Sendmail library question/problem Message-ID: <20020612202004.GB56055@dan.emsphone.com> References: <20020612110650.A56370@ei.bzerk.org> <20020612175959023.AAA583@empty1.ekahuna.com@pc02.ekahuna.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020612175959023.AAA583@empty1.ekahuna.com@pc02.ekahuna.com> User-Agent: Mutt/1.3.99i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error 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 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. libmilter and its headers are installed; libsm is not required for building milters. 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. 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. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message