Re: UTF-8 support / Perl regex \p{} unicode character property in 4.0.x
Jona Müller <[email protected]> Fri, 27 Mar 2026 13:37:21 +0100
| Newsgroups | gmane.mail.spam.spamassassin.general |
|---|---|
| Message-ID | <acZ6AeBdzJdzR8hq@MacbookPro> |
I've tested it and it seems to work pretty well. In the code page https://en.wikipedia.org/wiki/Symbols_and_Pictographs_Extended-A The first U+1FA7x get matched, but U+1FAEx do not, there is some weirdness going on there because thats a problem I already had with my rules. It's not really an issue but I wanted to mention it anyways. For example these are among those that aren't matched: 🫡🫣🫢🫠🫤 Thanks for the inspiration with the replace tags combined with the meta rules. I wasn't really a power user before, we have pretty well trained bayes filters and you guys have pretty good defaults already. Cheers, Jona Müller -- ================================ 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----- iQIzBAABCgAdFiEEM0qOw5hydnArKgH2jALoLo7pDpwFAmnGef4ACgkQjALoLo7p Dpxi7hAAjPtvtCaMvYSY0reeXq7d0bH3293PDID0VCmoFQEkQyGyFQ3hHiBePbuS f6kgkh5YG8Y4lZgmPS8EZftVqEWaEJ3PgH/liSmoqQkQg4Ojv0hMIElHOai2Xczj 5Hr0fBQ/+5V4SgqxMeM4OL401Nv7VB9Zz5jX45W2xCf0Q9OnSd2JYREfQ16Sguxg +JJoLW6Gp1WT/C13ckeAeiOa83A+MDxWND/vhHjo7SBvpuCWY5c6HkopqiXhT6O2 q4Tn3BZiJbpWXwcjwCQ0g6x+kdksrAuh5nESHLRPWxZCVrtwm0Nyql8AUCcoif3U sJrAK/6JXn5Bix63sX7jVtS1Si1lnYCiY4MiI/J/ulbOzxdRnGXM+0m/JF63AuU9 aABvfFvjFvujS0gpzBk5Pm1TBR0GwoFE69KpeY/K6rpn1FHJj+cd7IcyOBjvy5Mv y9X/hT/77aYSLdN3zgRsKdMXjhCv6GdgvGhEPhn46lX2fNTVY3VyNOaQcxBdDqWA +5xitWrk9tqJIl9Z/wpxo+eKt4N2sVi0gIUfnisahKKZIm7NW0tZPpD+IFqCkrY6 XiQhGef37SUvxnVf/ONafiITX64AEbpr8xeHxtwhX+/BzZVlVS8rUiDuj7CiqWsY 0c2Wg/S/GHMlzExvoZ5uy5swLqzI0MLZaZsw9XmQn+bbMw83LRs= =/APU -----END PGP SIGNATURE-----