Re: UTF-8 support / Perl regex \p{} unicode character property in 4.0.x

Jona Müller <[email protected]> Fri, 27 Mar 2026 03:18:01 +0100
Newsgroups gmane.mail.spam.spamassassin.general
Message-ID <acXo2eDDPBXTc74q@MacbookPro>
Thank you John!

I'll test it tomorrow. There are a lot of clever things in there that I've never
thought about, like multiple hits and meta rules. 

- jm
-- 
================================
Independend GmbH

[email protected]
+49 6832 265556

http://ind.me

On Thu, Mar 26, 2026 at 06:30:36PM -0700, John Hardin wrote:
> On Thu, 26 Mar 2026, John Hardin wrote:
> 
> > On Thu, 26 Mar 2026, Jona Müller wrote:
> > 
> > >  For example 100% of mail with emojis in friendly from is spam. In the
> > >  subject it's more like 70% spam. People have their name and maybe
> > >  their company or department in friendly from, usually nothing else.
> > 
> > Those two should be easy to catch now. In fact, let me add unscored
> > subrules for those. They will be available for use in metas even if they
> > aren't directly scoring.
> 
> https://github.com/apache/spamassassin/blob/trunk/rulesrc/sandbox/jhardin/20_emojis.cf
> 
> Give them a day or two to 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
> -----------------------------------------------------------------------
>   A government is a lot like a gun: It's always loaded,
>   and it's stupid and dangerous to point it at anything
>   you don't intend to hurt.                             -- GOF at TSM
> -----------------------------------------------------------------------
>  528 days since SpaceX caught the SuperHeavy booster on the first try
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEM0qOw5hydnArKgH2jALoLo7pDpwFAmnF6NUACgkQjALoLo7p
DpyvFA//UMKQV5JCNxllzPbLHXLQnGZUwnrDj+MZA2PKZgVvffQpsO5WEtLAe/6u
BKPihonZwGwP1e30ooip16CxDCR3zS2zx5LEWe87WMSf20LfXUirG+ThRv/TLgZC
tBeCH9E1hkgbpfvTnFSQbLkrKWwerVcmf4CBFAkCFO7fKri0EB2JUoMQgKh+Eu/7
yXOM7pDWD0Qq8bA1xxMAd8KQswSa+oWw2XHh4YFjG96hbqVKpAXN4ozPTc9TMkCw
FLThjKkUzbBjtVgZK+HAvSX51vsekY2yNsmVRxjNe/h246konE8gprrbXq7l/XI+
i0A7UyIsy8HuYMmFZayF785siMgx1/f3C8jcJymJXxsqkijYn3vuGmAx0IGWBEaC
o6MuVHuy4zPmhshzEsofAX1wsmk9j/2WQipX4QUtgI97Xl/AJDT614mgJLSu2GUN
GtHqe7Bk+LqTwKolvfDvesV4JEOaoRYMKaKsPbsJG/X+Vf5HxLlkZeVxzD1Y90Ak
JH/5AH82Agx2nv+pbP4UTkNTCT9we+sG84FPlJNxUSl88vLckDPuqlpd/aj7cK1i
IFoFPfUv6xgR4dJYlH+Q55hRXbDah3Qcucovb6cPumsZDeEvvJVQtVweftAMeinB
iy4+nVkV51UwS5vU9RJZqYs/Da0JkvCghopFGf6Pn34ZPKFpeUE=
=BqBD
-----END PGP SIGNATURE-----