From owner-freebsd-questions Mon Aug 19 14:36: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39FF837B400 for ; Mon, 19 Aug 2002 14:36:04 -0700 (PDT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A2AB43E3B for ; Mon, 19 Aug 2002 14:36:03 -0700 (PDT) (envelope-from kirk@strauser.com) Received: from pooh.int (mail@pooh.int [10.0.1.2]) by kanga.honeypot.net (8.12.5/8.12.5) with ESMTP id g7JLa0DD050782 for ; Mon, 19 Aug 2002 16:36:00 -0500 (CDT) (envelope-from kirk@strauser.com) Received: from kirk by pooh.int with local (Exim 3.35 #1 (Debian)) id 17guBr-0002th-00 for ; Mon, 19 Aug 2002 16:35:59 -0500 To: freebsd-questions@freebsd.org Subject: Re: Use spamass-milter only on local delivery? References: <87vg66bnmg.fsf@pooh.int> <20020819204721.GH70455@dan.emsphone.com> From: Kirk Strauser Date: 19 Aug 2002 16:35:59 -0500 In-Reply-To: <20020819204721.GH70455@dan.emsphone.com> Message-ID: <87it26bkg0.fsf@pooh.int> Lines: 37 X-Mailer: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 At 2002-08-19T20:47:22Z, Dan Nelson writes: > You might be better off installing a global procmailrc file that calls > spamc. I decided to jump off the cliff and install procmail as my local delivery agent. I did so by editing /etc/mail/kanga.mc: -MAILER(local) +FEATURE(local_procmail) +MAILER(local) and doing a make; make install; make restart. After verifying that mail was still being delivered as expected, I created a global procmailrc: root@kanga:/etc/mail# cat /usr/local/etc/procmailrc :0fw | spamassassin -P I called spamassassin directly after ready about (and experiencing) intermittent problems with spamd hanging. My mailserver carries a fairly low load (usually no more than 1000 mails per day), so I can afford the extra fork(). I've experimentally confirmed that mail delivered local is now subject to being re-written by SpamAssassin, but mail being relayed through my system is untouched. Does what I've done seem correct? My highest priority is ensuring that no email will ever be silently dropped from the system; will that simple procmail recipe meet this goal? Many thanks! Hopefully someone else will also find this to be useful. -- Kirk Strauser The Strauser Group - http://www.strausergroup.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message