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 <>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: procmail and anti-spam
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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:

| /usr/local/bin/spamassassin
* ^X-Spam-Status: Yes

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	>>	<<	adamw@FreeBSD.ORG
Bayer Berkeley	>>
#vim:set ts=8: 8-char tabs prevent tooth decay.
Version: GnuPG v1.2.1 (FreeBSD)


To Unsubscribe: send mail to
with "unsubscribe freebsd-questions" in the body of the message

Want to link to this message? Use this URL: <>