You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@spamassassin.apache.org on 2022/02/18 06:40:22 UTC

[Bug 7956] New: config: invalid regexp for __URI_TRY_3LD

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

            Bug ID: 7956
           Summary: config: invalid regexp for __URI_TRY_3LD
           Product: Spamassassin
           Version: 3.4.6
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sa-update
          Assignee: dev@spamassassin.apache.org
          Reporter: jnewman67@gmx.com
  Target Milestone: Undefined

running sa-update as root yields the following:

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 'updates.spamassassin.org': lint check of update failed, channel failed

codeschool is referenced only in the updates_spamassassin_org/72_active.cf file

it appears there might be a typo in the line making the regexp format
incorrect, though I'm not qualified to say specifically what it is.

I do see that the files in
/var/lib/spamassassin/3.004006/updates_spamassassin_org are dated Feb 7 (2022)
and that MIRRORED.BY has todays date (Feb 18) and time (01:17), so it's
downloading the updates correctly.  I just don't know if it's finishing the
update and using them afterwards.

Thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

jnewman67 <jn...@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|sa-update                   |Rules

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #5 from Matthijs <ma...@gmail.com> ---
Problem is not related to sa-update but to the RULES

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

Alan <la...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lameventanas@gmail.com

--- Comment #9 from Alan <la...@gmail.com> ---
@Giovanni: your patch doesn't fix it.

What should fix it is adding the /aa modifier to the regex.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #24 from Matthijs <ma...@gmail.com> ---
Can confirm as well:

# sa-update -V
sa-update version 3.4.4 / svn1869639
  running on Perl version 5.30.0
# sa-update -v
Update available for channel updates.spamassassin.org: 1898122 -> 1898171
http: (curl) GET http://sa-update-asf.snb.it/1898171.tar.gz, success
http: (curl) GET http://sa-update-asf.snb.it/1898171.tar.gz.sha512, success
http: (curl) GET http://sa-update-asf.snb.it/1898171.tar.gz.asc, success
gpg: WARNING: unsafe ownership on homedir '/etc/spamassassin/sa-update-keys'
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
Update failed, exiting with code 4

Why was it not tested or why do not spilt-up if to complex?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

ollitech@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ollitech@gmail.com

--- Comment #25 from ollitech@gmail.com ---
As I understand we're waiting for revision 1898196, but default channel
continues to advertise 1898171 as latest...

sa-update --channel updates.spamassassin.org -v
Update available for channel updates.spamassassin.org: 1898122 -> 1898171


It seems DNS is not updated, or just slow to propogate the new version?

```
dig +short txt 4.4.3.updates.spamassassin.org
3.3.3.updates.spamassassin.org.
"1898171"
```

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

J. Nieuwenhuizen <jn...@pchulpdienst.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jnieuw@pchulpdienst.nl

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

Matthijs <ma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matthys70@gmail.com

--- Comment #3 from Matthijs <ma...@gmail.com> ---
I can confirm as well, running Ubuntu servers and all got the same message,
though I'm using:

Feb 18 09:00:06.033 [81811] dbg: channel: selected mirror
http://sa-update.razx.cloud
Feb 18 09:00:06.033 [81811] dbg: http: url:
http://sa-update.razx.cloud/1898145.tar.gz

Tried to get from metadata version 1898122 to 1898145

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

Jeffrey Goh <je...@lightspeed.com.sg> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|jeff@lightspeed.com.sg      |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #28 from Jeffrey Goh <je...@lightspeed.com.sg> ---
sa-update -v will tell you before and after version.
If you run it twice, you will see that the update was rejected because of the
error, and that you are still on the old version.

Regards

(In reply to jnewman67 from comment #0)
> running sa-update as root yields the following:
> 
> 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 'updates.spamassassin.org': lint check of update failed, channel
> failed
> 
> codeschool is referenced only in the updates_spamassassin_org/72_active.cf
> file
> 
> it appears there might be a typo in the line making the regexp format
> incorrect, though I'm not qualified to say specifically what it is.
> 
> I do see that the files in
> /var/lib/spamassassin/3.004006/updates_spamassassin_org are dated Feb 7
> (2022) and that MIRRORED.BY has todays date (Feb 18) and time (01:17), so
> it's downloading the updates correctly.  I just don't know if it's finishing
> the update and using them afterwards.
> 
> Thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #27 from John Hardin <jh...@impsec.org> ---
(In reply to Matthijs from comment #24)
> Why was it not tested or why do not spilt-up if to complex?

It *was* tested. It passed lint in my dev environment or I wouldn't have
checked in the change. It passed lint at masscheck or it wouldn't have been
published.

There is apparently some difference between my and masscheck's environments and
the production environments where this is failing, probably related to Unicode
options.

It's still not available.

jhardin@davinci ~ $ date -u ; dig +short txt 4.4.3.updates.spamassassin.org
Sat Feb 19 10:51:16 PM UTC 2022
3.3.3.updates.spamassassin.org.
"1898171"

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

Timo Sandmann <li...@cety.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lists@cety.de

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #18 from pasan <po...@anacom.pt> ---
(In reply to spamassassin from comment #16)
> How about dropping the global /i and using local ones outside the assertion?
> 
> m,^(?i:https?)://(?i: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)[^.]*\.[^/
> ]+\.(?<![lL][iI][sS][tT]-[mM][aA][nN][aA][gG][eE]\.)(?i:com|net)\b,

I think this could work:

(?<!lis.{0}t-manage\.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

schicken <sp...@shinkan.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spamassassin@shinkan.info

--- Comment #23 from schicken <sp...@shinkan.info> ---
It is still not going good with me (2022-02-19, 11:46 UTC):

$ sa-update -v
Update available for channel updates.spamassassin.org: 1898122 -> 1898171
http: (curl) GET http://sa-update.spamassassin.org/1898171.tar.gz, success
http: (curl) GET http://sa-update.spamassassin.org/1898171.tar.gz.sha512,
success
http: (curl) GET http://sa-update.spamassassin.org/1898171.tar.gz.asc, success
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 /

I tried this, cause I'm sure is a very wise weasel:
$ rm -rf /var/lib/spamassassin/3.004006/updates_spamassassin_org*
debian@mail:~$ sudo sa-update -v
Update available for channel updates.spamassassin.org: -1 -> 1898171
http: (curl) GET http://spamassassin.apache.org/updates/MIRRORED.BY, success
http: (curl) GET http://sa-update.verein-clean.net/1898171.tar.gz, success
http: (curl) GET http://sa-update.verein-clean.net/1898171.tar.gz.sha512,
success
http: (curl) GET http://sa-update.verein-clean.net/1898171.tar.gz.asc, success
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
Update failed, exiting with code 4

Here are details for my environment (I'm running on Debian 11, from Debian
packages):

$ sa-update -V
sa-update version 3.4.6 / svn1881784
  running on Perl version 5.32.1

$ spamassassin -V
SpamAssassin version 3.4.6
  running on Perl version 5.32.1

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #21 from Jeffrey Goh <je...@lightspeed.com.sg> ---
(In reply to John Hardin from comment #19)
> Commit Modified
> /home/jhardin/develop/spamassassin/svn/trunk/rulesrc/sandbox/jhardin/
> 20_misc_testing.cf
> Committed revision 1898196.
> 
> What may still need to be looked at is why the lookbehind passed lint in the
> dev and masscheck environments...

ah ok - will wait for 1898196 to appear on the channel then.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #30 from jnewman67 <jn...@gmx.com> ---
I'll second the thanks!

I'm still only seeing svn1881784 when I run sa-update (without errors now), but
I'll check back tomorrow.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #34 from Jeffrey Goh <je...@lightspeed.com.sg> ---
(In reply to jnewman67 from comment #32)
> looks like mine updated as well, though it's not clear:
> 
> debug says:  dbg: channel: current version is 1898205, new version is 1898205
> 
> sa-update -V shows: sa-update version 3.4.6 / svn1881784
> 
> but it says skipping channel, so I'm going to call it good, unless someone
> sees an issue with the output above.
> 
> Thank you to all who make this possible, and those that make this happen.
> Honestly, one of the better online responses I've seen in a while, and very
> grateful to know there are people that still care this much about making
> sure the world keeps spinning in some realm of normalcy.
> 
> Thank you.

1898205 is >= 1898196, and the update ran successfully, so you have the patched
version same as me.  As @jnewman67 pointed out "-v" is the flag you want.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #12 from Henrik Krohns <ap...@hege.li> ---
(In reply to Henrik Krohns from comment #11)
>
> A possible workaround might also be escaping "st" to "s[t]", atleast here it
> stops complaining..
> 
> (?<!lis[t]-manage\.)

Never mind, trying many versions, it seems to start complaining again after
Perl 5.30...

So I'd still suggest just not using the lookbehind in this case..

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

paulo.santos@anacom.pt changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paulo.santos@anacom.pt

--- Comment #4 from paulo.santos@anacom.pt ---
Also the same. With rules 1898122 installed, today I tried to update to 1898145
and got this error.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

Henrik Krohns <ap...@hege.li> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pc@hillside.co.uk

--- Comment #22 from Henrik Krohns <ap...@hege.li> ---
*** Bug 7957 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

spamassassin@arcsin.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spamassassin@arcsin.de

--- Comment #16 from spamassassin@arcsin.de ---
How about dropping the global /i and using local ones outside the assertion?

m,^(?i:https?)://(?i: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)[^.]*\.[^/]+\.(?<![lL][iI][sS][tT]-[mM][aA][nN][aA][gG][eE]\.)(?i:com|net)\b,

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #6 from Adam Pribyl <co...@lowlevel.cz> ---
Yes, most probably it is related to rules, not sa-update itself. Could the
reporter switch the component?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

schicken <sp...@shinkan.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|spamassassin@shinkan.info   |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #32 from jnewman67 <jn...@gmx.com> ---
looks like mine updated as well, though it's not clear:

debug says:  dbg: channel: current version is 1898205, new version is 1898205

sa-update -V shows: sa-update version 3.4.6 / svn1881784

but it says skipping channel, so I'm going to call it good, unless someone sees
an issue with the output above.

Thank you to all who make this possible, and those that make this happen.
Honestly, one of the better online responses I've seen in a while, and very
grateful to know there are people that still care this much about making sure
the world keeps spinning in some realm of normalcy.

Thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

valli <ap...@valli.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |apache@valli.org

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #8 from Giovanni Bechis <gi...@paclan.it> ---
Created attachment 5762
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5762&action=edit
possible fix

I cannot reproduce the issue, however the attached fix may fix the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #11 from Henrik Krohns <ap...@hege.li> ---
Like described in Bug 6802, the culprit is "st". It expands similarly to "ss".

A possible workaround might also be escaping "st" to "s[t]", atleast here it
stops complaining..

(?<!lis[t]-manage\.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

John Hardin <jh...@impsec.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jhardin@impsec.org

--- Comment #15 from John Hardin <jh...@impsec.org> ---

(In reply to Henrik Krohns from comment #11)
> Like described in Bug 6802, the culprit is "st". It expands similarly to
> "ss".
> 
> A possible workaround might also be escaping "st" to "s[t]", atleast here it
> stops complaining..
> 
> (?<!lis[t]-manage\.)

Dammit, it passed lint here or I wouldn't have committed it. PERL 5.34

(In reply to Henrik Krohns from comment #10)

> John should just ditch that lookbehind in the rule, it can be as easily done
> with a lookahead etc.

I tried a lookahead first and it complicated the rule more than I wanted. There
are lookbehind assertions elsewhere that don't cause problems, but they may not
use ss/st text.

Taking a look...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

Bill Cole <bi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |billcole@apache.org

--- Comment #33 from Bill Cole <bi...@apache.org> ---
(In reply to jnewman67 from comment #32)
> looks like mine updated as well, though it's not clear:
> 
> debug says:  dbg: channel: current version is 1898205, new version is 1898205
> 
> sa-update -V shows: sa-update version 3.4.6 / svn1881784

Using "-V" (CAPITAL V) returns the versions of SA itself, the sa-update script,
& Perl. 

Using "-v" (lowercase v) gives "verbose" output, which includes mention of the
latest version according to DNS.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

jnewman67 <jn...@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Windows NT                  |Linux
                 CC|                            |jnewman67@gmx.com

--- Comment #1 from jnewman67 <jn...@gmx.com> ---
forgot to mention, system is CentOS 8 Stream, 4.18.0-365.el8.x86_64, fully
updated as of 2/18/2022

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #17 from John Hardin <jh...@impsec.org> ---
I have a fix but I won't be able to check it in until lunch.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #31 from Matthijs <ma...@gmail.com> ---
Thanks, seems to work now ... no errors:

Feb 20 07:52:42.205 [246619] dbg: channel: metadata version = 1898205, from
file /var/lib/spamassassin/3.004004/updates_spamassassin_org.cf
Feb 20 07:52:42.217 [246619] dbg: dns: 4.4.3.updates.spamassassin.org =>
1898205, parsed as 1898205
Feb 20 07:52:42.217 [246619] dbg: channel: current version is 1898205, new
version is 1898205, skipping channel

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #14 from jnewman67 <jn...@gmx.com> ---
more clarification:

sa-update -- version reports 

sa-update version 3.4.6 / svn1881784
  running on Perl version 5.26.3

and in /var/lib/spamassassin/3.004006/updates_spamassassin_org there's a
1898145.tar.gz file, along with it's ASC and SHA512 counterparts

so I'm assuming my system is trying to update from 1881784 to 1898145

## NOTE - I have NEVER seen this much active work to fix a bug I've reported
anywhere, in this short amount of time, over the past 30 years.  Very
impressed!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

Adam Pribyl <co...@lowlevel.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |covex@lowlevel.cz

--- Comment #2 from Adam Pribyl <co...@lowlevel.cz> ---
Same on debian 10 - either there is some new perl syntax used or there is some
misstake in this file.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #7 from jnewman67 <jn...@gmx.com> ---
changed from sa-update to RULES

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #13 from pasan <po...@anacom.pt> ---
Could this work here?
lis.{0}t-manage

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

Henrik Krohns <ap...@hege.li> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |apache@hege.li

--- Comment #10 from Henrik Krohns <ap...@hege.li> ---
(In reply to Alan from comment #9)
>
> What should fix it is adding the /aa modifier to the regex.

Note that /aa only works properly on Perl 5.16+

It already is added automatically in SpamAssassin trunk/4.0 when appropriate,
so never use it in stock rules.

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=6802

John should just ditch that lookbehind in the rule, it can be as easily done
with a lookahead etc.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

John Hardin <jh...@impsec.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #19 from John Hardin <jh...@impsec.org> ---
Commit Modified
/home/jhardin/develop/spamassassin/svn/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf
Committed revision 1898196.

What may still need to be looked at is why the lookbehind passed lint in the
dev and masscheck environments...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

Lars D. <ap...@mail.dinohaus.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |apache-bugzilla@mail.dinoha
                   |                            |us.de

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

Jeffrey Goh <je...@lightspeed.com.sg> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jeff@lightspeed.com.sg

--- Comment #20 from Jeffrey Goh <je...@lightspeed.com.sg> ---
Giovanni,

I have this happening couple update sequences now, am stuck on 1898122:

Update available for channel updates.spamassassin.org: 1898122 -> 1898145
Update available for channel updates.spamassassin.org: 1898122 -> 1898171

How can I apply the patch?  Or do I need to wait for the channel to update?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #29 from Jeffrey Goh <je...@lightspeed.com.sg> ---
works for me now - thanks to whoever finally pushed the update thru, and also
to all who make and keep this project awesomely useful.

# sa-update -v
Update available for channel updates.spamassassin.org: -1 -> 1898205
http: (curl) GET http://spamassassin.apache.org/updates/MIRRORED.BY, success
http: (curl) GET http://sa-update.dnswl.org/1898205.tar.gz, success
http: (curl) GET http://sa-update.dnswl.org/1898205.tar.gz.sha512, success
http: (curl) GET http://sa-update.dnswl.org/1898205.tar.gz.asc, success
Update was available, and was downloaded and installed successfully

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7956] config: invalid regexp for __URI_TRY_3LD

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7956

--- Comment #26 from Henrik Krohns <ap...@hege.li> ---
Chill out guys, it always takes 1-2 days for things to pass through the
masscheck into sa-update.

-- 
You are receiving this mail because:
You are the assignee for the bug.