Re: FPs with UPPERCASE_URI

John Hardin <[email protected]> Fri, 10 Jul 2026 07:59:50 -0700 (PDT)
Newsgroups gmane.mail.spam.spamassassin.general
Message-ID <[email protected]>
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--174976005459904117836955902950052
Content-Type: text/plain; charset=ISO-8859-7; format=flowed
Content-Transfer-Encoding: 8BIT

On Thu, 9 Jul 2026, Lichtinger, Bernhard wrote:

> Hi,
>
> Since UPPERCASE_URI has a score of 4.2 we get sometimes false positives (spamassassin-4.0.1).
>
> For example a HTML newsletter with relative links can trigger UPPERCASE_URI if the ankor name has mixed letters followed by a semicolon:
>
> HTML in the body:
>
> <a href="#_BMFTR:_Innovative_Data">...</a>
> ...
> <a name="_BMFTR:_Innovative_Data"></a>
>
>
> Leads to:
> dbg: uri: canonicalizing html uri: #_BMFTR:_Innovative_Data
> dbg: uri: cleaned uri: #_BMFTR:_Innovative_Data
> dbg: rules: ran uri rule UPPERCASE_URI ======> got hit: "#_BMFTR:"

The rule is intended to match the protocol and it isn't strict enough 
about format matching.

Fixing, and setting a score limit, but masscheck is spam-starved at the 
moment and I cannot guarantee how quickly the fix will be published.


-- 
  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
  [email protected]                         pgpk -a [email protected]
  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
   If the rock of doom requires a gentle nudge away from Gaia to
   prevent a very bad day for Earthlings, NASA won¢t be riding to the
   rescue. These days, NASA does dodgy weather research and outreach
   programs, not stuff in actual space with rockets piloted by
   flinty-eyed men called Buzz.                       -- Daily Bayonet
-----------------------------------------------------------------------
  10 days until the 57th anniversary of Apollo 11 landing on the Moon
--174976005459904117836955902950052--