From owner-freebsd-questions Sun Dec 29 9: 1:51 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 CC2F337B401 for ; Sun, 29 Dec 2002 09:01:49 -0800 (PST) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6978843ED4 for ; Sun, 29 Dec 2002 09:01:49 -0800 (PST) (envelope-from monkey@vectors.cx) Received: from vectors.cx (2627649d1c2ac4d80a4683624aeda866@localhost [127.0.0.1]) by vectors.cx (8.12.6/8.12.4) with ESMTP id gBTH3hwZ049725; Sun, 29 Dec 2002 09:03:44 -0800 (PST) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.6/8.12.6/Submit) id gBTH3hSr049724; Sun, 29 Dec 2002 09:03:43 -0800 (PST) (envelope-from monkey) Date: Sun, 29 Dec 2002 09:03:43 -0800 From: Adam Weinberger To: dick hoogendijk Cc: freebsd-questions Subject: Re: procmail and anti-spam Message-ID: <20021229170343.GK215@vectors.cx> References: <20021229161216.GA17969@nagual.st> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <20021229161216.GA17969@nagual.st> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-PGP-Key: http://www.vectors.cx/pgp.key.txt X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >> (12.29.2002 @ 0812 PST): dick hoogendijk said, in 0.5K: << > It need not be state-of-the-art, but a good .procmailrc-file that > filters a lot of spam would come in very handy. > > Does any of you have such a file and would you be willing to share it > with me (us?). >> end of "procmail and anti-spam" from dick hoogendijk << This is what's in mine: :0fw | /usr/local/bin/spamassassin :0 * ^X-Spam-Status: Yes bullshit/ Here's what it does: It passes the mail through spamassassin (/usr/ports/mail/p5-Mail-SpamAssassin), which will append a header named "X-Spam-Status" to the mail. If that header exists, the mail is directed into an appropriately named folder. I now get between 50 and 60 spam messages a day (just one of the perks of being a FreeBSD committer active on the mailing lists, I suppose), and spamassassin catches about 95% of them. To be honest, my procmail filter is a tad different. I have spamd running from /usr/local/etc/rc.d, and my spamassassin filter line is actually | /usr/local/bin/spamc. Same difference, though. # Adam - -- Adam Weinberger vectors.cx >> adam@vectors.cx FreeBSD.org << adamw@FreeBSD.ORG Bayer Berkeley >> adam.weinberger.b@bayer.com #vim:set ts=8: 8-char tabs prevent tooth decay. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+Dyrvo8KM2ULHQ/0RAgw6AJoDeHelfCQiDGFdjqE63oQ6AsTbiACfbkXW OWcM8SthPGh0BV6JhQQTS8g= =caTa -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message