On Mon, May 11, 2026 at 06:45:03PM -0400, Greg Troxel wrote:
> Well, it's not ok to send html mail at all.  But I just got a non-spam,
> actual messages from a human, that other than being html, was not at all
> spammy.  The HTML_FONT_SIZE_HUGE rule fired.

OK... and why do you think it is a problem? To wit:

% egrep -hr 'score.* HTML_FONT_SIZE_' /var/lib/spamassassin
score HTML_FONT_SIZE_HUGE 0.001
score HTML_FONT_SIZE_LARGE 0.001

IOW, those are NOT spam indicators at all. There are just there so
you can construct other meta-rules...


> I can't post the whole message, but there is

Well, perhaps you should create minimal representative example then.

>   <div dir=3D"ltr" style=3D"font-family: Aptos, Aptos_MSFontService, -apple-s=
>   ystem, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0,=
>    0, 0);">
> 

At quick glance, Mail/SpamAssassin/HTML.pm (at least in 3.4.6 version
of SA) does not trigger on CSS style "font-size: *pt" at all, but
e.g. on (deprecated) HTML "<font size=*>" which is totally different
metric from "pt", and can range from 1 to 7 (with 3 being "default text size").

i.e. https://www.w3docs.com/learn-html/html-font-tag.html

You should probably try to trim your original mail until you find out
what HTML tags are actually triggering that rule and why.

> Do other people see HTML_FONT_SIZE_HUGE on messages where it doesn't
> seem to fit?

No... When I do get it, it seems to be mostly on spammy HTML emails
(but most HTML I get is spam anyway, as I opt out of HTML whenever possible).

-- 
Opinions above are GNU-copylefted.

Reply via email to