Using rules to control Spam filtering
Michael H. Martel
martelm at QUARK.VSC.EDU
Wed Sep 29 16:16:19 IST 2004
<x-flowed>
Hello!
I want to use rules to control which messages get fed to SpamAssassin. I
want to do this so that lists that contain Spam stuff don't pollute the
Bayes Database. To that end I setup a rule that I _thought_ would do it.
It doesn't appear to.
My initial thought is that I can't filter on the incoming To line. And
that the To in FromOrTo is for outgoing.
Thanks!
# Do you want to find spam using the "SpamAssassin" package?
# This can also be the filename of a ruleset.
#Use SpamAssassin = yes
Use SpamAssassin = /opt/VSC-MailScanner/rules/spamassassin.rules
[root at hemlock etc]# cd /opt/VSC-MailScanner/rules/
-rw-r--r-- 1 root root 186 Sep 29 11:04 spamassassin.rules
[root at hemlock rules]# cat spamassassin.rules
FromOrTo: spamtools at lists.abuse.net no
FromOrTo: SPAM-L at PEACH.EASE.LSOFT.COM no
FromOrTo: users at spamassassin.apache.org no
FromOrTo: discuss at lists.surbl.org no
FromOrTo: default yes
Michael
--
--------------------------------o------------------------------- --
Michael H. Martel | Systems Administrator
martelm at quark.vsc.edu | Vermont State Colleges
http://probe.vsc.edu/~michael | PH:802-241-2544 FX:802-241-3363
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
</x-flowed>
More information about the MailScanner
mailing list