Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2002 09:03:43 -0800
From:      Adam Weinberger <adamw@FreeBSD.ORG>
To:        dick hoogendijk <dick@nagual.st>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: procmail and anti-spam
Message-ID:  <20021229170343.GK215@vectors.cx>
In-Reply-To: <20021229161216.GA17969@nagual.st>
References:  <20021229161216.GA17969@nagual.st>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021229170343.GK215>