You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Bert Van de Poel <be...@ulyssis.org> on 2022/02/18 09:51:16 UTC

Regex error in most recent update

Hi everyone,

I just noticed we had two email servers complain last night after 
running sa-update about a regex problem:
/etc/cron.daily/spamassassin:
config: invalid regexp for __URI_TRY_3LD 
'm,^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b,i': 
Variable length lookbehind is experimental in regex; marked by <-- HERE 
in 
m/(?i)^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b 
<-- HERE /

channel 'updates.spamassassin.org': lint check of update failed, channel 
failed
sa-update failed for unknown reasons


Did anyone else notice the same thing or is it just on our end?

Kind regards,
Bert

Re: Regex error in most recent update

Posted by Claudio Kuenzler <na...@gmail.com>.
Can confirm, too. Just saw this from yesterday's daily cron output:

/etc/cron.daily/spamassassin:
config: invalid regexp for __URI_TRY_3LD
'm,^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b,i':
Variable length lookbehind not implemented in regex
m/(?i)^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|vi.../
channel: lint check of update failed, channel failed
sa-update failed for unknown reasons

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956 was meanwhile
fixed.
Today's cron output didn't show the error anymore.
Thanks to all involved for reporting and fixing!



On Sun, Feb 20, 2022 at 1:32 AM Noel Butler <no...@ausics.net> wrote:

> On 19/02/2022 01:21, The Doctor wrote:
>
> On Fri, Feb 18, 2022 at 10:51:16AM +0100, Bert Van de Poel wrote:
>
> Hi everyone,
>
> I just noticed we had two email servers complain last night after
> running sa-update about a regex problem:
> /etc/cron.daily/spamassassin:
> config: invalid regexp for __URI_TRY_3LD
> 'm,^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b,i':
>
> Variable length lookbehind is experimental in regex; marked by <-- HERE
> in
> m/(?i)^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b
>
> <-- HERE /
>
> channel 'updates.spamassassin.org': lint check of update failed, channel
> failed
> sa-update failed for unknown reasons
>
>
> Did anyone else notice the same thing or is it just on our end?
>
>
> Thank you, I am seeing that as well.
>
> Kind regards,
> Bert
>
>
> Confirmed, it's erred here for 48 hours
>
>
> --
>
> Regards,
> Noel Butler
>
> This Email, including attachments, may contain legally privileged
> information, therefore at all times remains confidential and subject to
> copyright protected under international law. You may not disseminate this
> message without the authors express written authority to do so.   If you
> are not the intended recipient, please notify the sender then delete all
> copies of this message including attachments immediately. Confidentiality,
> copyright, and legal privilege are not waived or lost by reason of the
> mistaken delivery of this message.
>
>
>

Re: Regex error in most recent update

Posted by Noel Butler <no...@ausics.net>.
On 19/02/2022 01:21, The Doctor wrote:

> On Fri, Feb 18, 2022 at 10:51:16AM +0100, Bert Van de Poel wrote:
> 
>> Hi everyone,
>> 
>> I just noticed we had two email servers complain last night after
>> running sa-update about a regex problem:
>> /etc/cron.daily/spamassassin:
>> config: invalid regexp for __URI_TRY_3LD
>> 'm,^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b,i':
>> Variable length lookbehind is experimental in regex; marked by <-- 
>> HERE
>> in
>> m/(?i)^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b
>> <-- HERE /
>> 
>> channel 'updates.spamassassin.org': lint check of update failed, 
>> channel
>> failed
>> sa-update failed for unknown reasons
>> 
>> Did anyone else notice the same thing or is it just on our end?
> 
> Thank you, I am seeing that as well.
> 
>> Kind regards,
>> Bert

Confirmed, it's erred here for 48 hours

-- 
Regards,
Noel Butler

This Email, including attachments, may contain legally privileged 
information, therefore at all times remains confidential and subject to 
copyright protected under international law. You may not disseminate 
this message without the authors express written authority to do so.   
If you are not the intended recipient, please notify the sender then 
delete all copies of this message including attachments immediately. 
Confidentiality, copyright, and legal privilege are not waived or lost 
by reason of the mistaken delivery of this message.

Re: Regex error in most recent update

Posted by The Doctor <do...@doctor.nl2k.ab.ca>.
On Fri, Feb 18, 2022 at 10:51:16AM +0100, Bert Van de Poel wrote:
> Hi everyone,
> 
> I just noticed we had two email servers complain last night after 
> running sa-update about a regex problem:
> /etc/cron.daily/spamassassin:
> config: invalid regexp for __URI_TRY_3LD 
> 'm,^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b,i': 
> Variable length lookbehind is experimental in regex; marked by <-- HERE 
> in 
> m/(?i)^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b 
> <-- HERE /
> 
> channel 'updates.spamassassin.org': lint check of update failed, channel 
> failed
> sa-update failed for unknown reasons
> 
> 
> Did anyone else notice the same thing or is it just on our end?
>

Thank you, I am seeing that as well.

> Kind regards,
> Bert

-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b  
Do they do as the Word said, or as the world said? -unknown Beware https://mindspring.com

Re: Regex error in most recent update

Posted by Giovanni Panozzo <gi...@panozzo.it>.
Hi

Same here, ubuntu 20.04.

On 2022/02/18 11:51, Bert Van de Poel wrote:
>> Hi everyone,
>>
>> I just noticed we had two email servers complain last night after 
>> running sa-update about a regex problem:
>> /etc/cron.daily/spamassassin:
>> config: invalid regexp for __URI_TRY_3LD 
>> 'm,^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b,i': 
>> Variable length lookbehind is experimental in regex; marked by <-- 
>> HERE in 
>> m/(?i)^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b 
>> <-- HERE /
>>
>> channel 'updates.spamassassin.org': lint check of update failed, 
>> channel failed
>> sa-update failed for unknown reasons
>>
>>
>> Did anyone else notice the same thing or is it just on our end?
>>
>> Kind regards,
>> Bert

Re: Regex error in most recent update

Posted by Brent Clark <br...@gmail.com>.
Hi there

Yip!!
Got the same.

Regards
Brent

On 2022/02/18 11:51, Bert Van de Poel wrote:
> Hi everyone,
>
> I just noticed we had two email servers complain last night after 
> running sa-update about a regex problem:
> /etc/cron.daily/spamassassin:
> config: invalid regexp for __URI_TRY_3LD 
> 'm,^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b,i': 
> Variable length lookbehind is experimental in regex; marked by <-- 
> HERE in 
> m/(?i)^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b 
> <-- HERE /
>
> channel 'updates.spamassassin.org': lint check of update failed, 
> channel failed
> sa-update failed for unknown reasons
>
>
> Did anyone else notice the same thing or is it just on our end?
>
> Kind regards,
> Bert

Re: Regex error in most recent update

Posted by Dominic Raferd <do...@timedicer.co.uk>.
On 18/02/2022 09:51, Bert Van de Poel wrote:
> Hi everyone,
>
> I just noticed we had two email servers complain last night after
> running sa-update about a regex problem:
> /etc/cron.daily/spamassassin:
> config: invalid regexp for __URI_TRY_3LD
> 'm,^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b,i':
> Variable length lookbehind is experimental in regex; marked by <-- HERE
> in
> m/(?i)^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b
> <-- HERE /
>
> channel 'updates.spamassassin.org': lint check of update failed, channel
> failed
> sa-update failed for unknown reasons
>
>
> Did anyone else notice the same thing or is it just on our end?
>
> Kind regards,
> Bert
us too, so it is something wrong at updates.spamassassin.org.

Re: Regex error in most recent update

Posted by Matthias Rieber <ma...@zu-con.org>.
Hello,

On Fri, 18 Feb 2022, Bert Van de Poel wrote:

> Hi everyone,

[...]

> channel 'updates.spamassassin.org': lint check of update failed, channel 
> failed
> sa-update failed for unknown reasons
>
>
> Did anyone else notice the same thing or is it just on our end?

same issue here with Spamassassin from Debian Buster and Bullseye.

Matthias


Re: Regex error in most recent update

Posted by John Hardin <jh...@impsec.org>.
On Fri, 18 Feb 2022, Damian wrote:

>>  invalid regexp for __URI_TRY_3LD
>>  'm,^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b,i':
>>  Variable length lookbehind is experimental in regex; marked by <-- HERE in
>>  m/(?i)^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b
>>  <-- HERE /
>
> Wow, this one is pretty subtle. It is due to:
>
>>  Note that under "/i", a few single characters match two or three other
>>  characters. This makes them variable length [...]

Or vice-versa - in this case "ss"/"st" collapses to "ß"...

...and it's not universal, either. It passed lint here or I wouldn't have 
checked it in. It passed the masscheck lint or it wouldn't have been 
published.

I've checked in a fix, there may be one more bad update tonight before it 
goes out.


-- 
  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
  jhardin@impsec.org                         pgpk -a jhardin@impsec.org
  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
   Are you a mildly tech-literate politico horrified by the level of
   ignorance demonstrated by lawmakers gearing up to regulate online
   technology they don't even begin to grasp? Cool. Now you have a
   tiny glimpse into a day in the life of a gun owner.   -- Sean Davis
-----------------------------------------------------------------------
  4 days until George Washington's 290th Birthday

Re: Regex error in most recent update

Posted by Damian <sp...@arcsin.de>.
> invalid regexp for __URI_TRY_3LD 
> 'm,^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b,i': 
> Variable length lookbehind is experimental in regex; marked by <-- 
> HERE in 
> m/(?i)^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b 
> <-- HERE /

Wow, this one is pretty subtle. It is due to:

> Note that under "/i", a few single characters match two or three other 
> characters. This makes them variable length [...]


Re: Regex error in most recent update

Posted by Paul Fowler <pf...@titanhq.com>.
Hi,
looks like it is activley been worked on here.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

Regards,
Paul
________________________________
From: Brent Clark <br...@gmail.com>
Sent: Friday 18 February 2022 11:43
To: users@spamassassin.apache.org <us...@spamassassin.apache.org>
Subject: Re: Regex error in most recent update



CAUTION: This email originated from outside of the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe.



Is there a roll back or a cure?

Regards
Brent

On 2022/02/18 11:51, Bert Van de Poel wrote:
> Hi everyone,
>
> I just noticed we had two email servers complain last night after
> running sa-update about a regex problem:
> /etc/cron.daily/spamassassin:
> config: invalid regexp for __URI_TRY_3LD
> 'm,^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b,i':
> Variable length lookbehind is experimental in regex; marked by <--
> HERE in
> m/(?i)^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b
> <-- HERE /
>
> channel 'updates.spamassassin.org': lint check of update failed,
> channel failed
> sa-update failed for unknown reasons
>
>
> Did anyone else notice the same thing or is it just on our end?
>
> Kind regards,
> Bert

Re: Regex error in most recent update

Posted by Brent Clark <br...@gmail.com>.
Is there a roll back or a cure?

Regards
Brent

On 2022/02/18 11:51, Bert Van de Poel wrote:
> Hi everyone,
>
> I just noticed we had two email servers complain last night after 
> running sa-update about a regex problem:
> /etc/cron.daily/spamassassin:
> config: invalid regexp for __URI_TRY_3LD 
> 'm,^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b,i': 
> Variable length lookbehind is experimental in regex; marked by <-- 
> HERE in 
> m/(?i)^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b 
> <-- HERE /
>
> channel 'updates.spamassassin.org': lint check of update failed, 
> channel failed
> sa-update failed for unknown reasons
>
>
> Did anyone else notice the same thing or is it just on our end?
>
> Kind regards,
> Bert