summaryrefslogtreecommitdiff
path: root/spamassassin
diff options
context:
space:
mode:
authorroot <root@jones.dk>2016-10-25 14:36:25 +0200
committerroot <root@jones.dk>2016-10-25 14:36:25 +0200
commitd3f51704c317edcc5badbbc70356c284ffb6645d (patch)
treee18a071b84427b79da5f375ec857b42054abb1c1 /spamassassin
parent0480a826122b621c1b1aeeeac2d39307c41ab105 (diff)
Treat non-Western charsets as suspicious. Add a few descriptive comments.
Diffstat (limited to 'spamassassin')
-rw-r--r--spamassassin/local.cf5
-rw-r--r--spamassassin/local.cf.diff9
2 files changed, 12 insertions, 2 deletions
diff --git a/spamassassin/local.cf b/spamassassin/local.cf
index db03749..f99cd8f 100644
--- a/spamassassin/local.cf
+++ b/spamassassin/local.cf
@@ -88,6 +88,11 @@ ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
endif # Mail::SpamAssassin::Plugin::Shortcircuit
+# Avoid bayesian filter (requires continuous training)
use_bayes 0
+# Treat non-Western charsets as suspicious
+ok_locales en
+
+# Avoid BarracudaCentral (too aggressive)
dns_query_restriction deny barracudacentral.org
diff --git a/spamassassin/local.cf.diff b/spamassassin/local.cf.diff
index ccff6d5..461d26f 100644
--- a/spamassassin/local.cf.diff
+++ b/spamassassin/local.cf.diff
@@ -1,5 +1,5 @@
--- local.cf.orig 2016-10-24 21:29:10.000000000 +0200
-+++ local.cf 2016-10-25 14:21:42.000000000 +0200
++++ local.cf 2016-10-25 14:35:30.000000000 +0200
@@ -55,7 +55,7 @@
# Whether to decode non- UTF-8 and non-ASCII textual parts and recode
# them to UTF-8 before the text is given over to rules processing.
@@ -9,11 +9,16 @@
# Some shortcircuiting, if the plugin is enabled
#
-@@ -87,3 +87,7 @@
+@@ -87,3 +87,12 @@
# shortcircuit BAYES_00 ham
endif # Mail::SpamAssassin::Plugin::Shortcircuit
+
++# Avoid bayesian filter (requires continuous training)
+use_bayes 0
+
++# Treat non-Western charsets as suspicious
++ok_locales en
++
++# Avoid BarracudaCentral (too aggressive)
+dns_query_restriction deny barracudacentral.org