Re: OT: regexp spam filter
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 20 May 2002, Gary Turner wrote:
> I am not practiced in the use of regexp's, and need some help. I want
> to block a Nigerian domain (I wonder why?) whose IP block is 217.78.64.0
> - 217.78.79.255. For unknown reasons (ignorance?), my various
> incantations and curses have failed the test.
1) apt-get install spamassassin procmail
2) add this to ~/.procmailrc
:0fw
| spamassassin -P
:0:
* ^X-Spam-Status: Yes
caughtspam
Your spam, Nigerian scam among others, will now be tagged and moved to
caughtspam, make sure the caughtspam directory or mbox exists
beforehand. *REPORT YOUR SPAM*. http://spamcop.net/ can help with
this, you should also forward with headers to uce@ftc.gov if you're in
the US at the very least, there's also a few other government email
addresses for reporting specific kinds of spam, like financial scams
such as the ones you speak of.
Good luck in fighting spam, it's a worthwhile cause, don't lose hope.
- --
Baloo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE86kIuNtWkM9Ny9xURAn+lAJoCu+s2FA8FKOG3f4iwVkn6dhwlUgCgiIUH
4Sh7WxjE/78a1Vg5zLzlt0Y=
=vMAv
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: