summaryrefslogtreecommitdiff
path: root/spamassassin
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2005-07-26 13:58:08 +0000
committerJonas Smedegaard <dr@jones.dk>2005-07-26 13:58:08 +0000
commit16413e543d8a7b7351377f16680fa2e93c67e0a7 (patch)
tree71e5834b5ffdf66feaa13565c745540251e24109 /spamassassin
parenta4d649b9cb4a5d5b77e903af90ca4a45d94551ca (diff)
Add a bunch of sample spamassassin tweaks...
Diffstat (limited to 'spamassassin')
-rw-r--r--spamassassin/local.cf33
1 files changed, 33 insertions, 0 deletions
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