The file rc.example is a little different, in this case there is no existing
code for you to use. There are examples, that are commented out, but you
must copy rc.example into your account directory on Kendaco or Pacific.
Then edit this file to sort your mail.
What this file does, is save any mail addressed to you in the To or CC
lines, save any mail addressed to lists you subscribe to and trash
everything else. I should point out that it will also trash any message you
get that someone has sent you via the BCC line. This is because many
SPAMers use that line to SPAM you. Sometime legitiment people also use
that line, so it's possible (AGAIN) that this will trash mail you want to
get.
This script requires you to do some work, but it alone will stop 99% of
all SPAM mailed to you. This is because only about 1% of the SPAM you
receieve actually has your address in the TO or CC lines. If you use this
script, along with rc.common, rc.cyberpromo and rc.bogusips you will stop
all but very, very few of SPAMs that you would have received.
This is because very little SPAM is, addressed to you (in the To or CC
lines), correctly formated, and not coming from a known SPAM site. But it
should be noted that it will allow SPAM coming from an unknown SPAM
site, or a known good site, that is correctly formated and addressed to you
in either the To or CC lines, as long as there is less then 45 people listed
in these lines. So it is possible that you could -still- receive SPAM email.
As I have said before, these scum are nothing if not inventive. In the two
weeks I tested this I only actually received on piece of SPAM, and they
promptly got added to the known SPAM addresses.
I must again note that this script (rc.example) will prevent you from
receiving email addressed to you using the BCC header. You will
sometimes receive email this way if the sender doesn't want everyone to
know who is getting copies of this message, so there -is- a down side.
Another reason -not- to trash the mail that fails this script
Lets go through a little example of how to use rc.example. First you need
to sort out and save the list email you receive, which will look something
like this:
:0:
* ^(To|CC):.*listname@server-name\.domain-name\.domain-type(\>|$)
/var/spool/mail/(yourlogin name)
Now for some examples of what this should look like:
If you are having trouble with this script (or any other script) contact me at stopspam@telebyte.com