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 2006/10/31 17:45:07 UTC

svn commit: r469545 - /spamassassin/rules/trunk/sandbox/jm/20_basic.cf

Author: jm
Date: Tue Oct 31 08:45:06 2006
New Revision: 469545

URL: http://svn.apache.org/viewvc?view=rev&rev=469545
Log:
add a workable exclusion rule for CTYPE_ONETAB_GIF

Modified:
    spamassassin/rules/trunk/sandbox/jm/20_basic.cf

Modified: spamassassin/rules/trunk/sandbox/jm/20_basic.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/jm/20_basic.cf?view=diff&rev=469545&r1=469544&r2=469545
==============================================================================
--- spamassassin/rules/trunk/sandbox/jm/20_basic.cf (original)
+++ spamassassin/rules/trunk/sandbox/jm/20_basic.cf Tue Oct 31 08:45:06 2006
@@ -101,11 +101,11 @@
 # Testing bit
 
 ifplugin Mail::SpamAssassin::Plugin::MIMEHeader
-mimeheader CTYPE_ONETAB_GIF Content-Type:raw =~ /^image\/gif;\n\tname=\".+?\"$/s
+mimeheader __CTYPE_ONETAB_GIF Content-Type:raw =~ /^image\/gif;\n\tname=\".+?\"$/s
+mimeheader __CONT_LOC_GIF     Content-Location =~ /\.gif$/
+meta CTYPE_ONETAB_GIF       (__CTYPE_ONETAB_GIF && !__CONT_LOC_GIF)
 describe CTYPE_ONETAB_GIF   Stock spam image part 'Content-Type' found (1 tab)
 endif
-
-header CTYPE_000_00_BOUND   Content-Type =~ /boundary=\"----=_NextPart_000_00/
 
 header MID_START_001C   Message-ID =~ /^<000001c/