Bug with patches to fix this:
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6760
On 02/17, dar...@chaosreigns.com wrote:
> Looks like this fixes it:
>
> $ diff ./lib/Mail/SpamAssassin/HTML.pm
> /usr/share/perl5/Mail/SpamAssassin/HTML.pm
> 952a953,956
> > # Handle 3 character color sho
Looks like this fixes it:
$ diff ./lib/Mail/SpamAssassin/HTML.pm
/usr/share/perl5/Mail/SpamAssassin/HTML.pm
952a953,956
> # Handle 3 character color shorthand.
> if (length($color) == 3) {
> $color =~ s/(.)(.)(.)/$1$1$2$2$3$3/;
> }
Opening a bug to apply it.
On 02/17, dar...@chaosreig
Confirmed. #999 is getting converted to #090909, when it should be
getting converted to #99. (Threw a print statement into the top
of html_font_invisible().)
On 02/17, dar...@chaosreigns.com wrote:
> You should open a bug. SpamAssassin attempts to catch these via
> html_font_invisible() in
You should open a bug. SpamAssassin attempts to catch these via
html_font_invisible() in HTML.pm (should hit rule HTML_FONT_LOW_CONTRAST).
My guess is that it's failing to handle the short form of color values
(FFF instead of FF). Looks like they should be converted like 123
-> 112233.
Repor
On Thu, 16 Feb 2012, JP Kelly wrote:
No didn't work.
with --lint I got:
warn: config: invalid regexp for rule HTML_TEXT_WHITE_SHORT: /style=\"color:
missing or invalid delimiters
Try:
rawbody HTML_TEXT_WHITE_SHORT /style="color\#FFF;/
Sorry, I'm just tossing these out untested. )
--
On Fri, 2012-02-17 at 01:22 -0800, JP Kelly wrote:
> I tried escaping both the # and the " but no joy.
> jp
>
> On Feb 16, 2012, at 10:44 PM, Benny Pedersen wrote:
>
> > rawbody HTML_TEXT_WHITE_SHORT /style=\"color#FFF;/
> > describe HTML_TEXT_WHITE_SHORT rawbody: /style="color#FFF;/
> > sco
I tried escaping both the # and the " but no joy.
jp
On Feb 16, 2012, at 10:44 PM, Benny Pedersen wrote:
> Den 2012-02-17 06:53, JP Kelly skrev:
>> No didn't work.
>> with --lint I got:
>> warn: config: invalid regexp for rule HTML_TEXT_WHITE_SHORT:
>> /style=\"color: missing or invalid delimiter
Den 2012-02-17 06:53, JP Kelly skrev:
No didn't work.
with --lint I got:
warn: config: invalid regexp for rule HTML_TEXT_WHITE_SHORT:
/style=\"color: missing or invalid delimiters
^^
On Feb 16, 2012, at 7:53 PM, Benny Pedersen wrote:
Den 2012-02-17 02:12, JP Kelly skrev:
How
The '#' is a comment character, need to escape it.
Try:
rawbody HTML_TEXT_WHITE_SHORT /style="color\#FFF;/
On Thu, 16 Feb 2012, JP Kelly wrote:
No didn't work.
with --lint I got:
warn: config: invalid regexp for rule HTML_TEXT_WHITE_SHORT: /style=\"color:
missing or invalid delimiters
O
No didn't work.
with --lint I got:
warn: config: invalid regexp for rule HTML_TEXT_WHITE_SHORT: /style=\"color:
missing or invalid delimiters
On Feb 16, 2012, at 7:53 PM, Benny Pedersen wrote:
> Den 2012-02-17 02:12, JP Kelly skrev:
>
>> How do I implement this?
>
>>> rawbody HTML_TEXT_WHITE
Den 2012-02-17 02:12, JP Kelly skrev:
How do I implement this?
rawbody HTML_TEXT_WHITE_SHORT /style="color#FFF;/
add it to local.cf or user_prefs, its not tested here so it might not
work at all
it will score default 1.0 if no score is set
ok I'm a dummy.
How do I implement this?
On Feb 16, 2012, at 5:03 PM, John Hardin wrote:
> rawbody HTML_TEXT_WHITE_SHORT /style="color#FFF;/
On Thu, 16 Feb 2012, JP Kelly wrote:
I am getting a bunch of spam with white text on a white background. Any ideas
how to catch it?
Here is an example:
At the risk of playing whack-a-mole:
rawbody HTML_TEXT_WHITE_SHORT /style="color#FFF;/
The short color code is probably unlikely to
13 matches
Mail list logo