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 2007/02/08 14:46:23 UTC

svn commit: r504893 - /spamassassin/trunk/rules/20_imageinfo.cf

Author: jm
Date: Thu Feb  8 05:46:22 2007
New Revision: 504893

URL: http://svn.apache.org/viewvc?view=rev&rev=504893
Log:
bug 5271: more ImageInfo integration; update CREDITS to note that it was contributed by Dallas E. Engelken (thanks Dallas); add loadplugin line to MANIFEST; and comment out the rules that didn't reach quality levels in the ruleqa system (were still sandbox rules)

Modified:
    spamassassin/trunk/rules/20_imageinfo.cf

Modified: spamassassin/trunk/rules/20_imageinfo.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rules/20_imageinfo.cf?view=diff&rev=504893&r1=504892&r2=504893
==============================================================================
--- spamassassin/trunk/rules/20_imageinfo.cf (original)
+++ spamassassin/trunk/rules/20_imageinfo.cf Thu Feb  8 05:46:22 2007
@@ -23,17 +23,15 @@
 #
 ###########################################################################
 
-loadplugin Mail::SpamAssassin::Plugin::ImageInfo ImageInfo.pm
-
 ifplugin Mail::SpamAssassin::Plugin::ImageInfo
 
-# you can match by image name
-body		DC_IMAGE001_GIF		eval:image_named('image001.gif')
-describe	DC_IMAGE001_GIF		Contains image named image001.gif
-
-# you can do exact image size matches 
-body	 	DC_GIF_264_127  	eval:image_size_exact('gif','264','127')
-describe 	DC_GIF_264_127  	Found 264x127 pixel gif, possible pillz
+## # you can match by image name
+## body		DC_IMAGE001_GIF		eval:image_named('image001.gif')
+## describe	DC_IMAGE001_GIF		Contains image named image001.gif
+
+## # you can do exact image size matches 
+## body	 	DC_GIF_264_127  	eval:image_size_exact('gif','264','127')
+## describe 	DC_GIF_264_127  	Found 264x127 pixel gif, possible pillz
 
 # you can do image to text, or image to html ratios 
 rawbody		DC_IMG_HTML_RATIO	eval:image_to_text_ratio('all', '0.000', '0.015')
@@ -86,14 +84,14 @@
 meta	 	DC_GIF_UNO_LARGO	( __GIF_ATTACH_1 && __GIF_AREA_180K )
 describe 	DC_GIF_UNO_LARGO  	Message contains a single large inline gif
 
-meta		DC_GIF_MULTI_LARGO 	( __GIF_ATTACH_2P && __GIF_AREA_180K )
-describe	DC_GIF_MULTI_LARGO  	Message has 2+ inline gif covering lots of area
+## meta		DC_GIF_MULTI_LARGO 	( __GIF_ATTACH_2P && __GIF_AREA_180K )
+## describe	DC_GIF_MULTI_LARGO  	Message has 2+ inline gif covering lots of area
 
 meta	 	DC_PNG_UNO_LARGO	( __PNG_ATTACH_1 && __PNG_AREA_180K )
 describe 	DC_PNG_UNO_LARGO	Message contains a single large inline gif
 
-meta	 	DC_PNG_MULTI_LARGO 	( __PNG_ATTACH_2P && __PNG_AREA_180K )
-describe	DC_PNG_MULTI_LARGO  	Message has 2+ inline png covering lots of area
+## meta	 	DC_PNG_MULTI_LARGO 	( __PNG_ATTACH_2P && __PNG_AREA_180K )
+## describe	DC_PNG_MULTI_LARGO  	Message has 2+ inline png covering lots of area
 
 # meta	 	DC_JPEG_UNO_LARGO 	( __JPEG_ATTACH_1 && __JPEG_AREA_180K )
 # describe	DC_JPEG_UNO_LARGO  	Message hash single large inline jpeg