You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Eric Toll <et...@vipstructures.com> on 2004/03/19 13:03:19 UTC
Is there a rule set available that deals with this?
I'd like to give anything with a font size of one Pixel a score of 10.
TIA
Eric
Re:
Posted by Jesse Houwing <j....@student.utwente.nl>.
I've added such a rule to my Misc ruleset at
http://www.exit0.us/index.php/ToAoMsMiscRules
The rule in question is:
# font-size: 1px|%|1
rawbody __TM2_MISC_STYLE_SMALL_FONT
/style="?[^>"]?font(?:-size)?\s*:\s*0?[0-5](?:\.\d+)?\s?(?:px|%|pt)/i
meta TM2_MISC_STYLE_SMALL_FONT ((HTML_MESSAGE || MIME_HTML_ONLY) &&
__TM2_MISC_STYLE_SMALL_FONT)
describe TM2_MISC_STYLE_SMALL_FONT STYLE Hidden text using font-size
score TM2_MISC_STYLE_SMALL_FONT 2.5
It catches any font-size smaller than 5px, 5pt or 5% (which to me are all
unreadable)
Have fun with them,
Jesse Houwing
-----Original Message-----
From: "Eric Toll" <et...@vipstructures.com>
To: <sp...@incubator.apache.org>
Date: Fri, 19 Mar 2004 07:03:19 -0500
Subject: <FONT style="FONT-SIZE: 1px">
Is there a rule set available that deals with this?
I'd like to give anything with a font size of one Pixel a score of 10.
TIA
Eric