blacklist does not work
Julian Field
MailScanner at ecs.soton.ac.uk
Tue Feb 1 11:12:46 GMT 2005
[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
Dörfler Andreas wrote:
>hello,
>
>think i´ve done right but the blacklist does not work for me ?!?
>
>inside MailScanner.conf:
>Is Definitely Spam = %rules-dir%/spam.blacklist.rules
>
>/etc/MailScanner/rules
>-rw-r--r-- 1 root root 518 Feb 1 11:42 spam.blacklist.rules
>-rw-r--r-- 1 root root 1106 Feb 1 10:22 spam.whitelist.rules
>
>spam.blacklist.rules:
>To: spam at host.domain12345.de
>From: andreas at domain135.de
>
>host.domain12345.de is the mailscanner host, the other is my personal mail.
>
>nothing will be blocked and im sure the one setting in ms conf is enough, or
>not ?
>
>didnt found something in the archive, dont hit me if im to silly to search
>;)
>
>
Don't worry, we all (except me, I guess :-) had to start somewhere. You
nearly have the syntax right, but you have missed the "yes" off the end
of each line.
To: spam at host.domain12345.de yes
From: andreas at domain135.de yes
As for any matching rule, that value you want to return to "Is
Definitely Spam" is the answer "yes".
Make those changes, then "service MailScanner reload" if you are running
most Linuxes.
--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
------------------------ 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).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list