You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2007/01/09 22:57:52 UTC
svn commit: r494613 - /spamassassin/trunk/rules/50_scores.cf
Author: jm
Date: Tue Jan 9 13:57:52 2007
New Revision: 494613
URL: http://svn.apache.org/viewvc?view=rev&rev=494613
Log:
fix syntax errors in rule file; unclosed <gen:mutable> block allowed many rules to mutate; no need for BAYES scores to be non-zero in non-Bayes scoresets; DKIM_POLICY_SIGNSOME allowed to hit with tiny score
Modified:
spamassassin/trunk/rules/50_scores.cf
Modified: spamassassin/trunk/rules/50_scores.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rules/50_scores.cf?view=diff&rev=494613&r1=494612&r2=494613
==============================================================================
--- spamassassin/trunk/rules/50_scores.cf (original)
+++ spamassassin/trunk/rules/50_scores.cf Tue Jan 9 13:57:52 2007
@@ -498,6 +498,7 @@
ifplugin Mail::SpamAssassin::Plugin::URIEval
# <gen:mutable>
score HTTPS_IP_MISMATCH 1.920 1.920 2.220 2.400
+# </gen:mutable>
endif
###########################################################################
@@ -515,15 +516,15 @@
# make the Bayes scores unmutable (as discussed in bug 4505)
ifplugin Mail::SpamAssassin::Plugin::Bayes
-score BAYES_00 0.0001 0.0001 -2.312 -2.599
-score BAYES_05 0.0001 0.0001 -1.110 -1.110
-score BAYES_20 0.0001 0.0001 -0.740 -0.740
-score BAYES_40 0.0001 0.0001 -0.185 -0.185
-score BAYES_50 0.0001 0.0001 0.001 0.001
-score BAYES_60 0.0001 0.0001 1.0 1.0
-score BAYES_80 0.0001 0.0001 2.0 2.0
-score BAYES_95 0.0001 0.0001 3.0 3.0
-score BAYES_99 0.0001 0.0001 3.5 3.5
+score BAYES_00 0 0 -2.312 -2.599
+score BAYES_05 0 0 -1.110 -1.110
+score BAYES_20 0 0 -0.740 -0.740
+score BAYES_40 0 0 -0.185 -0.185
+score BAYES_50 0 0 0.001 0.001
+score BAYES_60 0 0 1.0 1.0
+score BAYES_80 0 0 2.0 2.0
+score BAYES_95 0 0 3.0 3.0
+score BAYES_99 0 0 3.5 3.5
endif
# Informational rules about Received header parsing
@@ -572,7 +573,7 @@
# DKIM
ifplugin Mail::SpamAssassin::Plugin::DKIM
score DKIM_POLICY_SIGNALL 0.001
-score DKIM_POLICY_SIGNSOME 0
+score DKIM_POLICY_SIGNSOME 0.001
score DKIM_POLICY_TESTING 0.001
score DKIM_SIGNED 0.001
score DKIM_VERIFIED -0.001