You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by B-LUC Consulting <tb...@gmail.com> on 2025/01/03 19:02:16 UTC
KAM rule __GB_CUSTOM_SURGESH fails lint check
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
-- <------ B-LUC Consulting ---- CISSP-ISSAP #41151 ---------->
Thomas Bullinger, Owner
Visit us @ http://consult.btoy1.net
Phone: (585) 678-1552
PGP key ID: 0xD40D9BB2
Badge: https://www.youracclaim.com/users/thomas-bullinger
57th rule of acquisition:
Good customers are as rare as latinum. Treasure them.
===============================================================
WARNING: Electronic mail sent through the Internet is not
secure and could be intercepted by a third party. For your own
protection, do not send any identifying information, including
account, Social Security, card numbers, or passwords via email.
===============================================================
Re: KAM rule __GB_CUSTOM_SURGESH fails lint check
Posted by Bill Cole <sa...@billmail.scconsult.com>.
On 2025-01-03 at 14:02:16 UTC-0500 (Fri, 3 Jan 2025 14:02:16 -0500)
B-LUC Consulting <tb...@gmail.com>
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
bill@scconsult.com or billcole@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire
Re: KAM rule __GB_CUSTOM_SURGESH fails lint check
Posted by Giovanni Bechis <gi...@paclan.it>.
Il 3 gennaio 2025 20:02:16 CET, B-LUC Consulting <tb...@gmail.com> ha scritto:
>
>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
>
>-- <------ B-LUC Consulting ---- CISSP-ISSAP #41151 ---------->
> Thomas Bullinger, Owner
> Visit us @ http://consult.btoy1.net
> Phone: (585) 678-1552
> PGP key ID: 0xD40D9BB2
> Badge: https://www.youracclaim.com/users/thomas-bullinger
>
>57th rule of acquisition:
>Good customers are as rare as latinum. Treasure them.
>===============================================================
>WARNING: Electronic mail sent through the Internet is not
>secure and could be intercepted by a third party. For your own
>protection, do not send any identifying information, including
>account, Social Security, card numbers, or passwords via email.
>===============================================================
I've just committed a fix, sorry for the breakage.
Giovanni