Re: KAM rule __GB_CUSTOM_SURGESH fails lint check
Bill Cole <[email protected]>
| Newsgroups | gmane.mail.spam.spamassassin.general |
|---|---|
| Message-ID | <[email protected]> |
On 2025-01-03 at 14:02:16 UTC-0500 (Fri, 3 Jan 2025 14:02:16 -0500) B-LUC Consulting <[email protected]> is rumored to have said: > config: invalid regexp for __GB_CUSTOM_SURGESH '/https?:\/\/(?:[a-z0-9_\-]+)\.surge\.sh\/.{0,16}#%{GB_TO_ADDR}/i': Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/(?i)https?:\/\/(?:[a-z0-9_\-]+)\.surge\.sh\/.{0,16}#%{ <-- HERE GB_TO_ADDR}/ > > channel 'kam.sa-channels.mcgrail.com': lint check of update failed, channel failed The KAM ruleset is not part of the Apache SpamAssassin Project, but is an independent project of the McGrail Foundation. You can find the support point for the KAM ruleset documented in the comments at the start of KAM.cf: https://raptor.pccc.com/raptor.cgim?template=report_problem I believe that error is the result of the KAM ruleset using the "Named Capture Groups" feature of SpamAssassin v4.x, so if you are using an older version, you get that error. Generally, these sorts of cases are handled by wrapping rules that demand new features in version-checking protection. I expect that this will get such a fix shortly. -- Bill Cole [email protected] or [email protected] (AKA @grumpybozo and many *@billmail.scconsult.com addresses) Not Currently Available For Hire
signature.asc
(application/pgp-signature, 285 B)
-----BEGIN PGP SIGNATURE----- iJ4EAREKAEYWIQSD6xgpiXWgu9hXilLazUImdqvDjAUCZ3l2Uigcc2F1c2Vycy0y MDE1MDIwNUBiaWxsbWFpbC5zY2NvbnN1bHQuY29tAAoJENrNQiZ2q8OMOOoA/11d Go9MeakWdKu/V+U9t7GjMDV3zHbHcdWK7ohBaK38APwN4YEbHOt1RhNlC1UppRWv 0OSXWtC96mEqSDsoNjOKLg== =nFiQ -----END PGP SIGNATURE-----