Mailing List Archive

svn commit: r1878688 - /spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf
Author: jhardin
Date: Tue Jun 9 23:36:31 2020
New Revision: 1878688

URL: http://svn.apache.org/viewvc?rev=1878688&view=rev
Log:
Add many-empty-HTML-table-cells rule for testing per suggestion from AC

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=1878688&r1=1878687&r2=1878688&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf Tue Jun 9 23:36:31 2020
@@ -2983,5 +2983,13 @@ meta SUSP_UTF8_WORD_MANY _
describe SUSP_UTF8_WORD_MANY Many words using only suspicious UTF-8 characters
score SUSP_UTF8_WORD_MANY 3.000 # limit

+# observed by AC
+rawbody __HTML_EMPTY_CELLS /<td>(?:<\/td><td>){5,}/i
+tflags __HTML_EMPTY_CELLS multiple maxhits=3
+meta __HTML_EMPTY_CELLS_MANY __HTML_EMPTY_CELLS > 2
+meta HTML_EMPTY_CELLS_MANY __HTML_EMPTY_CELLS_MANY
+describe HTML_EMPTY_CELLS_MANY HTML table with lots of empty cells
+score HTML_EMPTY_CELLS_MANY 1.500 # limit
+