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/05/07 20:46:10 UTC
svn commit: r772738 - in /spamassassin/rules/trunk/sandbox/jhardin: ./
20_image.cf
Author: jm
Date: Thu May 7 18:46:08 2009
New Revision: 772738
URL: http://svn.apache.org/viewvc?rev=772738&view=rev
Log:
as requested by mail on users list
Added:
spamassassin/rules/trunk/sandbox/jhardin/
spamassassin/rules/trunk/sandbox/jhardin/20_image.cf
Added: spamassassin/rules/trunk/sandbox/jhardin/20_image.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/jhardin/20_image.cf?rev=772738&view=auto
==============================================================================
--- spamassassin/rules/trunk/sandbox/jhardin/20_image.cf (added)
+++ spamassassin/rules/trunk/sandbox/jhardin/20_image.cf Thu May 7 18:46:08 2009
@@ -0,0 +1,9 @@
+
+# From John Hardin <jh...@impsec.org> to SpamAssassin Users List <us...@spamassassin.apache.org> date Thu, May 7, 2009 at 17:20
+
+header __CTYPE_MULTIPART_MXD Content-Type =~ /multipart\/mixed/i
+mimeheader __ANY_TEXT_ATTACH Content-Type =~ /text\/\w+/i
+meta MIME_IMAGE_ONLY (__CTYPE_MULTIPART_MXD && __ANY_IMAGE_ATTACH && !__ANY_TEXT_ATTACH)
+#score MIME_IMAGE_ONLY 2.00
+describe MIME_IMAGE_ONLY Image body part but no text body parts
+