From owner-freebsd-questions Wed Jun 12 13:21:59 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 222A437B403 for ; Wed, 12 Jun 2002 13:21:54 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.12.3/8.12.3) id g5CKLjbi042709; Wed, 12 Jun 2002 15:21:45 -0500 (CDT) (envelope-from dan) Date: Wed, 12 Jun 2002 15:21:45 -0500 From: Dan Nelson To: Giorgos Keramidas Cc: Jeff Jirsa , Adam Weinberger , Ruben de Groot , "Philip J. Koenig" , questions@FreeBSD.ORG Subject: Re: Sendmail library question/problem Message-ID: <20020612202145.GC56055@dan.emsphone.com> References: <20020612103854.A14026@crackula.com> <20020612104844.N61576-100000@boris.st.hmc.edu> <20020612193734.GA699@hades.hell.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020612193734.GA699@hades.hell.gr> 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), Giorgos Keramidas said: > On 2002-06-12 10:54 -0700, Jeff Jirsa wrote: > > On Wed, 12 Jun 2002, Adam Weinberger wrote: > > > sure it does. i use it. > > > > > > $ echo "|/usr/local/bin/spamassassin" > ~/.forward > > > > > > -Adam > > > > Which works for you, individually, but not the entire site. His > > goal, it appears, is to do filtering on all mail coming into his > > server, not just his individual mail. > > Add to sendmail.mc: > > FEATURE(`local_procmail')dnl > MAILER(`procmail')dnl > > Run as root: > > # cd /usr/local/etc > # cat > procmailrc > > :0 f > |/usr/local/bin/spamassassin > > Done, and spamassassin is used site-wide :) This only applies to local users, which may or may not be the desired result. The milter applies to any email processed by sendmail (incoming, outgoing, or relayed). -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message