You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2006/11/23 04:29:31 UTC
svn commit: r478450 - /spamassassin/rules/trunk/sandbox/felicity/70_other.cf
Author: felicity
Date: Wed Nov 22 19:29:30 2006
New Revision: 478450
URL: http://svn.apache.org/viewvc?view=rev&rev=478450
Log:
bug 4927: add in rule to check for 2+ Subject headers in the message
Modified:
spamassassin/rules/trunk/sandbox/felicity/70_other.cf
Modified: spamassassin/rules/trunk/sandbox/felicity/70_other.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/felicity/70_other.cf?view=diff&rev=478450&r1=478449&r2=478450
==============================================================================
--- spamassassin/rules/trunk/sandbox/felicity/70_other.cf (original)
+++ spamassassin/rules/trunk/sandbox/felicity/70_other.cf Wed Nov 22 19:29:30 2006
@@ -289,3 +289,12 @@
# 1.265 1.4843 0.0000 1.000 1.00 1.00 TVD_RCVD_046
header TVD_RCVD_SINGLE Received =~ /^from\s+(?!localhost)[^\s.a-z0-9-]+\s/
+
+
+ifplugin Mail::SpamAssassin::Plugin::HeaderEval
+
+# 0.115 0.1333 0.0000 1.000 1.00 1.00 HEADER_COUNT_SUBJECT
+header HEADER_COUNT_SUBJECT eval:check_header_count_range('Subject','2','999')
+describe HEADER_COUNT_SUBJECT Multiple Subject headers found
+
+endif