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/12/05 17:12:11 UTC

svn commit: r482700 - /spamassassin/rules/trunk/sandbox/felicity/70_other.cf

Author: felicity
Date: Tue Dec  5 08:12:09 2006
New Revision: 482700

URL: http://svn.apache.org/viewvc?view=rev&rev=482700
Log:
bug 5110: new test rules for EXTRA_MPART_TYPE

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=482700&r1=482699&r2=482700
==============================================================================
--- spamassassin/rules/trunk/sandbox/felicity/70_other.cf (original)
+++ spamassassin/rules/trunk/sandbox/felicity/70_other.cf Tue Dec  5 08:12:09 2006
@@ -308,3 +308,10 @@
 describe HEADER_COUNT_SUBJECT	Multiple Subject headers found
 
 endif
+
+# bug 5110:
+# potential replacements.  2 has better spam hits than the original, since
+# ";type" is now caught, but type= really only shows up in multipart/related
+# messages, so maybe just adding a point for that is the right way to go.
+header EXTRA_MPART_TYPE2         Content-Type =~ /\btype=/i
+header EXTRA_MPART_TYPE3         Content-Type =~ /^multipart\/related\b/i