spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1729133 - /spamassassin/trunk/rules/20_imageinfo.cf
Date Mon, 08 Feb 2016 11:15:53 GMT
Author: axb
Date: Mon Feb  8 11:15:52 2016
New Revision: 1729133

URL: http://svn.apache.org/viewvc?rev=1729133&view=rev
Log:
added !__HAS_URI condition

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?rev=1729133&r1=1729132&r2=1729133&view=diff
==============================================================================
--- spamassassin/trunk/rules/20_imageinfo.cf (original)
+++ spamassassin/trunk/rules/20_imageinfo.cf Mon Feb  8 11:15:52 2016
@@ -99,13 +99,13 @@ describe	__DC_PNG_MULTI_LARGO  	Message
 # meta	 	DC_JPEG_MULTI_LARGO 	( __JPEG_ATTACH_2P && __JPEG_AREA_180K )
 # describe	DC_JPEG_MULTI_LARGO  	Message has 2+ jpeg images covering lots of area
 
-meta		DC_IMAGE_SPAM_TEXT		( __DC_IMG_TEXT_RATIO && ( DC_GIF_UNO_LARGO || DC_PNG_UNO_LARGO
|| __DC_GIF_MULTI_LARGO || __DC_PNG_MULTI_LARGO ))
+meta		DC_IMAGE_SPAM_TEXT		( !__HAS_URI && __DC_IMG_TEXT_RATIO && ( DC_GIF_UNO_LARGO
|| DC_PNG_UNO_LARGO || __DC_GIF_MULTI_LARGO || __DC_PNG_MULTI_LARGO ))
 describe	DC_IMAGE_SPAM_TEXT		Possible Image-only spam with little text
 
 # meta the stock rules together for HTML_IMAGE_ONLY_*
 meta		__HTML_IMG_ONLY			( HTML_IMAGE_ONLY_04 || HTML_IMAGE_ONLY_08 || HTML_IMAGE_ONLY_12
|| HTML_IMAGE_ONLY_16 || HTML_IMAGE_ONLY_20 || HTML_IMAGE_ONLY_24 || HTML_IMAGE_ONLY_28 )
 
-meta		DC_IMAGE_SPAM_HTML		( ( __HTML_IMG_ONLY  || __DC_IMG_HTML_RATIO ) && ( DC_GIF_UNO_LARGO
|| DC_PNG_UNO_LARGO || __DC_GIF_MULTI_LARGO || __DC_PNG_MULTI_LARGO ))
+meta		DC_IMAGE_SPAM_HTML		(!__HAS_URI && ( __HTML_IMG_ONLY  || __DC_IMG_HTML_RATIO
) && ( DC_GIF_UNO_LARGO || DC_PNG_UNO_LARGO || __DC_GIF_MULTI_LARGO || __DC_PNG_MULTI_LARGO
))
 describe	DC_IMAGE_SPAM_HTML		Possible Image-only spam
 
 endif



Mime
View raw message