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 2013/06/09 05:17:57 UTC
svn commit: r1491131 -
/spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf
Author: jhardin
Date: Sun Jun 9 03:17:57 2013
New Revision: 1491131
URL: http://svn.apache.org/r1491131
Log:
Add "many one-word font changes" rule
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=1491131&r1=1491130&r2=1491131&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf Sun Jun 9 03:17:57 2013
@@ -1063,7 +1063,7 @@ uri __URI_WWW_MC m,://(?
uri __URI_TLD_MC /\.(?!(?-i:com|net|org|biz|info|COM|NET|ORG))(?:com|net|org|biz|info)\b/i
uri __URI_GOOG_MC /(?!(?-i:[Gg]oogle))google/i
-rawbody __HTML_FONT_TINY_01 /font-size:\s?[0-4]px;/i
+rawbody __HTML_FONT_TINY_01 /font-size:\s{0,5}[0-4]px;/i
meta HTML_FONT_TINY __HTML_FONT_TINY_01 && __TAG_EXISTS_BODY
describe HTML_FONT_TINY Font too small to read
score HTML_FONT_TINY 1.00 # limit
@@ -1112,4 +1112,12 @@ score FOUND_YOU 3.25 # li
describe FOUND_YOU I found you...
+rawbody __HTML_FONT_ONE_WORD_01 />\s{0,5}\S{1,15}\s{0,5}<\/font>/i
+tflags __HTML_FONT_ONE_WORD_01 multiple maxhits=26
+meta HTML_FONT_ONE_WORD_MANY __HTML_FONT_ONE_WORD_01 > 25
+describe HTML_FONT_ONE_WORD_MANY Many one-word font changes
+score HTML_FONT_ONE_WORD_MANY 0.50 # limit (initial)
+
+
+