You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by do...@apache.org on 2006/11/18 10:32:55 UTC
svn commit: r476478 - in /spamassassin/trunk/rules: 20_head_tests.cf
50_scores.cf
Author: dos
Date: Sat Nov 18 01:32:54 2006
New Revision: 476478
URL: http://svn.apache.org/viewvc?view=rev&rev=476478
Log:
bug 5171: move HEAD_LONG inside ifplugin lines
Modified:
spamassassin/trunk/rules/20_head_tests.cf
spamassassin/trunk/rules/50_scores.cf
Modified: spamassassin/trunk/rules/20_head_tests.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rules/20_head_tests.cf?view=diff&rev=476478&r1=476477&r2=476478
==============================================================================
--- spamassassin/trunk/rules/20_head_tests.cf (original)
+++ spamassassin/trunk/rules/20_head_tests.cf Sat Nov 18 01:32:54 2006
@@ -33,11 +33,6 @@
describe FRAGMENTED_MESSAGE Partial message
tflags FRAGMENTED_MESSAGE userconf
-# this is also mostly-theoretical, so allow 0 hits
-header HEAD_LONG eval:check_msg_parse_flags('truncated_header')
-describe HEAD_LONG Message headers are very long
-tflags HEAD_LONG userconf
-
###########################################################################
header FROM_BLANK_NAME From =~ /(?:\s|^)"" <\S+>/i
@@ -536,6 +531,11 @@
###########################################################################
ifplugin Mail::SpamAssassin::Plugin::MIMEEval
+
+# this is also mostly-theoretical, so allow 0 hits
+header HEAD_LONG eval:check_msg_parse_flags('truncated_header')
+describe HEAD_LONG Message headers are very long
+tflags HEAD_LONG userconf
header MISSING_HB_SEP eval:check_msg_parse_flags('missing_head_body_separator')
describe MISSING_HB_SEP Missing blank line between message header and body
Modified: spamassassin/trunk/rules/50_scores.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rules/50_scores.cf?view=diff&rev=476478&r1=476477&r2=476478
==============================================================================
--- spamassassin/trunk/rules/50_scores.cf (original)
+++ spamassassin/trunk/rules/50_scores.cf Sat Nov 18 01:32:54 2006
@@ -464,6 +464,7 @@
# </gen:mutable>
# we dare you
+score HEAD_LONG 2.5
score MISSING_HB_SEP 2.5
endif
@@ -510,7 +511,6 @@
# we dare you
score FRAGMENTED_MESSAGE 2.5
score HIGH_CODEPAGE_URI 2.5
-score HEAD_LONG 2.5
# make the Bayes scores unmutable (as discussed in bug 4505)
ifplugin Mail::SpamAssassin::Plugin::Bayes