Re: /usr/share/spamassassin/sa-update.cron 2>&1 | tee -a /var/log/sa-update.log failing

John Hardin <[email protected]> Sun, 5 Apr 2026 20:01:57 -0700 (PDT)
Newsgroups gmane.mail.spam.spamassassin.general
Message-ID <[email protected]>
On Sun, 5 Apr 2026, Mark London wrote:

> Thanks for anyone's help in find the following problem:
>
> On Ubuntu, the daily cron job is failing:
>
> /usr/share/spamassassin/sa-update.cron 2>&1 | tee -a 
> /var/log/sa-update.logfailing
>
> Error message:
>
> config: SpamAssassin failed to parse line, "us1.list-manage.com 
> us2.list-manage.com us3.list-manage.com us4.list-manage.com

...etc

I saw the report of that error on github and fixed it. The correction 
should hopefully go out tomorrow.

My apologies for introducing that bug. I did not notice the comment about 
the 3tld bug in older versions, and assumed that since the 2tld entries 
had multiple domains that the 3tld entries would work that way as well. My 
dev environment lint checks run using trunk code so they didn't report a 
problem due to that bug.

That said, the bug only exists in _very_ old versions of SpamAssassin. You 
really should look into upgrading to the last 3.4.x version if not a 
current 4.0.x version.


-- 
  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
-----------------------------------------------------------------------
  8 days until Thomas Jefferson's 283rd Birthday