summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@jones.dk>2016-10-25 18:49:06 +0200
committerroot <root@jones.dk>2016-10-25 18:49:06 +0200
commit39b5525fa0b1ecc05188251893217174dd11f1f5 (patch)
treeaab64bd2cfbabf71d6600650f2bb8ff89b3b8c44
parent356bff5e01f566ba3d4ed123714fd1ec1d5dbabd (diff)
Disable generic use_learner (not use_bayes).
-rw-r--r--spamassassin/local.cf2
-rw-r--r--spamassassin/local.cf.diff4
2 files changed, 3 insertions, 3 deletions
diff --git a/spamassassin/local.cf b/spamassassin/local.cf
index cc91b5f..371060c 100644
--- a/spamassassin/local.cf
+++ b/spamassassin/local.cf
@@ -91,7 +91,7 @@ shortcircuit ALL_TRUSTED on
endif # Mail::SpamAssassin::Plugin::Shortcircuit
# Avoid bayesian filter (requires continuous training)
-use_bayes 0
+use_learner 0
# Treat non-Western charsets as suspicious
ok_locales en
diff --git a/spamassassin/local.cf.diff b/spamassassin/local.cf.diff
index 0da805e..f9e5597 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 18:45:29.000000000 +0200
++++ local.cf 2016-10-25 18:48:39.000000000 +0200
@@ -15,18 +15,20 @@
# Save spam messages as a message/rfc822 MIME attachment instead of
# modifying the original message (0: off, 2: use text/plain instead)
@@ -48,7 +48,7 @@
endif # Mail::SpamAssassin::Plugin::Shortcircuit
+
+# Avoid bayesian filter (requires continuous training)
-+use_bayes 0
++use_learner 0
+
+# Treat non-Western charsets as suspicious
+ok_locales en