Re: HTML_FONT_SIZE_HUGE firing on html that looks ok

Andrew C Aitchison <[email protected]> Tue, 12 May 2026 12:35:45 +0100 (BST)
Newsgroups gmane.mail.spam.spamassassin.general
Message-ID <[email protected]>
On Tue, 12 May 2026, Greg Troxel wrote:

> Matija Nalis <[email protected]> writes:
>
>> The HTML_FONT_SIZE_HUGE is NOT triggering on my SA 3.4.1 with your
>> ham.000 (only HTML_MESSAGE and DMARC/etc stuff is).
>
> 3.4.1 is old and you are overdue for upgrade, but I can tell you know
> that; mentioning it for other readers.
>
>> I know this might sound annoying (that is not my intention!); but are you sure that:
>
> It's fair; I ask the same sorts of questions.
>
>> - this is really the exact file you've checking with "spamassassin -D -t" ?
>
> Really sure.  The SPF stuff showed up as I was editing and rerunning.  I
> can see the input file in the output.
>
>> - that something in your extra rules did not override HTML_FONT_SIZE_HUGE test?
>
> grepping local.cf I find nothing.   So I'm as sure as I can be.
>
>> Well, maybe someone with SA 4.0.2 can check how it behaves for them;
>> maybe it's a bug there (maybe only on NetBSD?)
>>
>> If I were you, I'd:
>>
>> - wait a little if someone can reproduce the issue with SA 4.0.2
>
> This has happened already, on Ubuntu 26.04.  Thanks Andrew!
>
>>   - however if bug is successfully reproduced in pristine NetBSD
>>     Spamassassin 4.0.2, I'd fire up my editor and start adding dbg()
>>     statements in that Mail/SpamAssassin/HTML.pm in anything
>>     mentioning "size" (i.e. sub text_style() primarily) until I found
>>     out what exactly is changing those $self->{max_size} and/or
>>     $self->{min_size})
>
> I think we have arrrived here, except it's not related to NetBSD.  And,
> so far we have zero reports of failure to repo with SA 4.0.2 on any
> platform :-)
>
> It could be related to perl 5.42.0 (just making that up).

I'm on
    This is perl 5, version 40, subversion 1 (v5.40.1) built for
    x86_64-linux-gnu-thread-multi
    (with 48 registered patches, see perl -V for more detail)

so it is a little wider than just 5.42.0

-- 
Andrew C. Aitchison                      Kendal, UK
                    [email protected]