From 16413e543d8a7b7351377f16680fa2e93c67e0a7 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 26 Jul 2005 13:58:08 +0000 Subject: Add a bunch of sample spamassassin tweaks... --- spamassassin/local.cf | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'spamassassin') diff --git a/spamassassin/local.cf b/spamassassin/local.cf index 1ae6886..1d65b9e 100644 --- a/spamassassin/local.cf +++ b/spamassassin/local.cf @@ -9,3 +9,36 @@ score CHARSET_FARAWAY_HEADERS 1.00 # Lower Razor score (from 3.0) to let more mailinglist mail through score RAZOR_CHECK 2.0 + +# The below was found at http://flakshack.com/anti-spam/wiki/index.php?page=Debian + +report_safe 0 + +use_bayes 1 +bayes_path /var/lib/amavis/.spamassassin/bayes_seen + +skip_rbl_checks 0 +use_razor2 1 +use_dcc 1 +use_pyzor 1 + +dns_available yes + +header LOCAL_RCVD Received =~ /.*\(\S+\.mydomain\.bogus\s+\[.*\]\)/ +describe LOCAL_RCVD Received from local machine +score LOCAL_RCVD -50 + +## Optional Score Increases +score DCC_CHECK 4.000 +score SPF_FAIL 10.000 +score SPF_HELO_FAIL 10.000 +score RAZOR2_CHECK 2.500 +score BAYES_99 4.300 +score BAYES_90 3.500 +score BAYES_80 3.000 + +# Added by jsu2 +# refer to http://flakshack.com/anti-spam/wiki/index.php?page=Testing +body LOCAL_TEST1 /myspamtest12341234/ +describe LOCAL_TEST1 This is a unique phrase to trigger a positive score +score LOCAL_TEST1 50 -- cgit v1.2.3