[Mimedefang] Tiny Text
Jonathan Maliepaard
jon at enetworks.co.za
Tue May 10 11:19:52 EDT 2005
> No, but I have seen 2.5 points before. :) Silly question, where would
i
> put a new rule like that? I'm already changing some scores in
> /etc/mail/mimedefang/sa-mimedefang.cf, but not sure where to add a new
> rule.
Just paste it into your sa-mimedefang.cf file as below. I have two rules
as they sometimes substitute a px with a ;
I am sure it is possible to make this one regular expression - I just
don't know how.
<SNIP>
describe TINY_TEXT_1 Body includes very small html text
rawbody TINY_TEXT_1 /FONT-SIZE: (?:1|1.5|2|2.5|3)px/i
score TINY_TEXT_1 3.0
describe TINY_TEXT_2 Body includes very small html text
rawbody TINY_TEXT_2 /FONT-SIZE: (?:1|1.5|2|2.5|3)\;/i
score TINY_TEXT_2 3.0
</SNIP>
More information about the MIMEDefang
mailing list