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 2005/05/27 20:23:02 UTC

svn commit: r178805 - /spamassassin/trunk/rules/70_testing.cf

Author: felicity
Date: Fri May 27 11:23:01 2005
New Revision: 178805

URL: http://svn.apache.org/viewcvs?rev=178805&view=rev
Log:
test rules, look for missing content-type and flag appropriately

Modified:
    spamassassin/trunk/rules/70_testing.cf

Modified: spamassassin/trunk/rules/70_testing.cf
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/rules/70_testing.cf?rev=178805&r1=178804&r2=178805&view=diff
==============================================================================
--- spamassassin/trunk/rules/70_testing.cf (original)
+++ spamassassin/trunk/rules/70_testing.cf Fri May 27 11:23:01 2005
@@ -26,3 +26,10 @@
 #
 ########################################################################
 
+header T_MISSING_CT	Content-Type =~ /^\s*;/
+describe T_MISSING_CT	Content-Type header is missing required type
+
+ifplugin Mail::SpamAssassin::Plugin::MIMEHeader
+mimeheader T_MIME_MISSING_CT	Content-Type =~ /^\s*;/
+describe T_MIME_MISSING_CT	MIME part Content-Type header is missing required type
+endif