> Do you know any working spam filter or program for removing
> spam? If there is one that works with pine and I can install
> myself (on solaris and/or linux),
I use a program called SpamAssassin, from
http://www.spamassassin.org.
It takes about 5 minutes to set up, but since it works with
procmail, your options are
limitless. It applies a bunch of
probabilistic tests
to incoming mail, and adds the results to the mail headers. By default
it tags spam with "***SPAM***" in the subject line . There are only
two files to edit to set it up.
Simple Step-by-step instructions for SpamAssasin:
-
Make a backup of your .procmailrc and .forward files if you have
them.
-
Create a .forward file in your home directory containing (include the
quote marks, and replace "yourlogin" with your login name):
"|IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #yourlogin"
-
Edit or create a .procmailrc file in your home directory containing
the below lines. If you already have a .procmailrc file, add the lines
to the top:
:0fw
| /usr/local/bin/spamassassin
The above lines filter all incoming mail through SpamAssassin and
tag probable spam with a unique header. If you would prefer to have
spam blocked and saved to a file called "caughtspam" in your home
directory, instead of passed through and tagged, append this
directly below the above lines:
:0:
* ^X-Spam-Status: Yes
caughtspam
Those 5 lines will process all mail through SpamAssassin, and refile
spam messages to a folder called "caughtspam" in your home
directory.
You can also use the rules facilities in Outlook, Netscape, Eudora,
or other email reader based on the output of SpamAssassin.
-
Send yourself a
test spam message
and make sure it gets to you (check your "caughtspam" folder!). If it does not, copy your old
backed-up .procmailrc and .forward files back into place and
we'll figure out what went wrong.
|