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 2009/06/09 00:30:44 UTC

svn commit: r782821 - /spamassassin/rules/trunk/sandbox/maddoc/99_doc_test.cf

Author: jm
Date: Mon Jun  8 22:30:44 2009
New Revision: 782821

URL: http://svn.apache.org/viewvc?rev=782821&view=rev
Log:
fix lint errors in sandboxes

Modified:
    spamassassin/rules/trunk/sandbox/maddoc/99_doc_test.cf

Modified: spamassassin/rules/trunk/sandbox/maddoc/99_doc_test.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/maddoc/99_doc_test.cf?rev=782821&r1=782820&r2=782821&view=diff
==============================================================================
--- spamassassin/rules/trunk/sandbox/maddoc/99_doc_test.cf (original)
+++ spamassassin/rules/trunk/sandbox/maddoc/99_doc_test.cf Mon Jun  8 22:30:44 2009
@@ -59,8 +59,12 @@
 
 # Multipart mail with no text parts
 header     __CTYPE_MULTIPART_MIXED Content-Type =~ /multipart\/mixed/i
-mimeheader __ANY_TEXT_ATTACH     Content-Type =~ /text\/\w+/i
-meta	FSL_MIME_NO_TEXT	(__CTYPE_MULTIPART_MIXED && !__ANY_TEXT_ATTACH)
+
+ifplugin Mail::SpamAssassin::Plugin::MIMEHeader
+mimeheader __ANY_TEXT_ATTACH_DOC     Content-Type =~ /text\/\w+/i
+endif
+
+meta	FSL_MIME_NO_TEXT	(__CTYPE_MULTIPART_MIXED && !__ANY_TEXT_ATTACH_DOC)
 score	FSL_MIME_NO_TEXT	1.50
 
 # Test rule from SA list
@@ -127,8 +131,7 @@
 header	FSL_HELO_DEVICE		X-Spam-Relays-External =~ /\bhelo=(?:(?:dsl)?device|speedtouch)\.lan\b/i
 score	FSL_HELO_DEVICE		0.001
 
-header	FSL_HELO_FAKE		X-Spam-Relays-External =~ /\bhelo=(?:yandex.ru|(?:hotmail|gmail|google|yahoo|msn|microsoft)\.c
-om)\b/i
+header	FSL_HELO_FAKE		X-Spam-Relays-External =~ /\bhelo=(?:yandex.ru|(?:hotmail|gmail|google|yahoo|msn|microsoft)\.com)\b/i
 score	FSL_HELO_FAKE		0.001
 
 # Testing