You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jh...@apache.org on 2009/08/11 18:47:12 UTC

svn commit: r803203 - /spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf

Author: jhardin
Date: Tue Aug 11 16:47:12 2009
New Revision: 803203

URL: http://svn.apache.org/viewvc?rev=803203&view=rev
Log:
rule for plain text attachments with octet-stream MIME type

Modified:
    spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf

Modified: spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf?rev=803203&r1=803202&r2=803203&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf Tue Aug 11 16:47:12 2009
@@ -16,6 +16,8 @@
 describe	EU_SPAM_LAW	Quoting "European Parliament" spam law
 
 ifplugin Mail::SpamAssassin::Plugin::MIMEHeader
-  mimeheader   HTML_ATTACH    Content-Type =~ /text\/html\b.+\.htm/i
+  mimeheader   HTML_ATTACH    Content-Type =~ m,text/html;.+\.html?\b,i
+
+  mimeheader   OBFU_TEXT_ATTACH    Content-Type =~ m,application/octet-stream;.+\.txt\b,i
 endif