Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1001206: spamassassin: sa-update from cronjob fails behind http(s) proxy

168 views
Skip to first unread message

Matthias Förste

unread,
Dec 6, 2021, 7:40:03 AM12/6/21
to
Source: spamassassin
Severity: normal
Tags: patch

Dear Maintainer,

the script failed with the following error message:

/etc/cron.daily/spamassassin:
error: unable to refresh mirrors file for channel updates.spamassassin.org, using old file
error: no mirror data available for channel updates.spamassassin.org
channel: MIRRORED.BY file contents were missing, channel failed
sa-update failed for unknown reasons

This did work in the past. My guess is that the hsts policy for the
mirror url [1] has been established over the last weekend. Setting and
passing the https_proxy environment variable to sa-update fixes the
issue for me. Patch attached

Thanks!

[1] $ dig +short txt mirrors.updates.spamassassin.org
"http://spamassassin.apache.org/updates/MIRRORED.BY"
cron.patch
0 new messages