Something up with the sa-update.spamassassin.org rsync?
-------- Forwarded Message -------- Subject: Problem with spamassassin update at /usr/bin/sa-update line 1603 Date: Fri, 22 Feb 2019 11:36:38 +0100 From: mbaldov <mbal...@gmail.com> To: us...@spamassassin.apache.org Hello, I have a mailserver with postfix installed (v.2.11.0) on Ubuntu 14.04 LTS with Amavis, ClamAV and Spamassasins (v. 3.004002) Since the last upgrade that I have done next week, the upgrade of new signatures fails with this messages: "/etc/cron.daily/spamassassin:Cannot open file /var/lib/spamassassin/3.004002/updates_spamassassin_org/1854020.tar.gz: No such file or directory at /usr/bin/sa-update line 1603." The problem isn't the file that clearly doesn't exist but some mirrors that it seems have problems when they are called. I have seen many post where they spoke about permission but I have checked and all it's correct. Debugging the perl file called spamassasins, you get to a point where it appears the mirror's list and their weight; the first attempts is done on sa-update.spamassassin.org <http://sa-update.spamassassin.org> but the response is 503 as highlighted below: ############################ eb 15 12:45:10.992 [10243] dbg: channel: protocol family available: inet,inet6 Feb 15 12:45:10.992 [10243] dbg: channel: file /var/lib/spamassassin/3.004002/updates_spamassassin_org/MIRRORED.BY <http://MIRRORED.BY> is too old, refreshing mirrors file Feb 15 12:45:10.992 [10243] dbg: channel: DNS lookup on mirrors.updates.spamassassin.org <http://mirrors.updates.spamassassin.org> Feb 15 12:45:11.156 [10243] dbg: http: url: http://spamassassin.apache.org/updates/MIRRORED.BY Feb 15 12:45:11.156 [10243] dbg: http: downloading to: /var/lib/spamassassin/3.004002/updates_spamassassin_org/MIRRORED.BY <http://MIRRORED.BY>, replace Feb 15 12:45:11.156 [10243] dbg: util: executable for curl was found at /usr/bin/curl Feb 15 12:45:11.156 [10243] dbg: http: /usr/bin/curl -s -L -O --remote-time -g --max-redirs 2 --connect-timeout 30 --max-time 300 --fail -o MIRRORED.BY <http://MIRRORED.BY> -- http://spamassassin.apache.org/updates/MIRRORED.BY Feb 15 12:45:11.332 [10243] dbg: http: process [10244], exit status: exit 0 Feb 15 12:45:11.333 [10243] dbg: channel: MIRRORED.BY <http://MIRRORED.BY> file for channel updates.spamassassin.org <http://updates.spamassassin.org> retrieved Feb 15 12:45:11.333 [10243] dbg: channel: parsing MIRRORED.BY <http://MIRRORED.BY> file for channel updates.spamassassin.org <http://updates.spamassassin.org> Feb 15 12:45:11.333 [10243] dbg: channel: found mirror http://sa-update.dnswl.org/ weight=3 Feb 15 12:45:11.333 [10243] dbg: channel: found mirror http://www.sa-update.pccc.com/ weight=5 Feb 15 12:45:11.334 [10243] dbg: channel: found mirror http://sa-update.secnap.net/ weight=5 Feb 15 12:45:11.334 [10243] dbg: channel: found mirror http://sa-update.space-pro.be/ weight=1 Feb 15 12:45:11.334 [10243] dbg: channel: found mirror http://sa-update.ena.com/ weight=5 Feb 15 12:45:11.334 [10243] dbg: channel: found mirror http://sa-update.razx.cloud/ weight=5 Feb 15 12:45:11.334 [10243] dbg: channel: found mirror http://sa-update.fossies.org/ weight=1 Feb 15 12:45:11.334 [10243] dbg: channel: found mirror http://sa-update.bitwell.fi/ weight=5 Feb 15 12:45:11.335 [10243] dbg: channel: found mirror http://sa-update.spamassassin.org/ weight=10 Feb 15 12:45:11.338 [10243] dbg: channel: selected mirror http://sa-update.spamassassin.org Feb 15 12:45:11.338 [10243] dbg: http: url: *http://sa-update.spamassassin.org/1853564.tar.gz* Feb 15 12:45:11.338 [10243] dbg: http: downloading to: /var/lib/spamassassin/3.004002/updates_spamassassin_org/1853564.tar.gz, new Feb 15 12:45:11.338 [10243] dbg: util: executable for curl was found at /usr/bin/curl Feb 15 12:45:11.338 [10243] dbg: http: /usr/bin/curl -s -L -O --remote-time -g --max-redirs 2 --connect-timeout 30 --max-time 300 --fail -o 1853564.tar.gz -- http://sa-update.spamassassin.org/1853564.tar.gz Feb 15 12:45:11.543 [10243] dbg: http: process [10246], exit status: exit 22 Cannot open file /var/lib/spamassassin/3.004002/updates_spamassassin_org/1853564.tar.gz: No such file or directory at /usr/bin/sa-update line 1603. ############################## Here below there are two manual attempts (wgets): One with a bad mirror (1) and one with a good one (2): 1) wget http://sa-update.spamassassin.org/1853564.tar.gz --2019-02-15 12:47:51-- http://sa-update.spamassassin.org/1853564.tar.gz Resolving sa-update.spamassassin.org <http://sa-update.spamassassin.org> (sa-update.spamassassin.org <http://sa-update.spamassassin.org>)... 64.142.56.146 Connecting to sa-update.spamassassin.org <http://sa-update.spamassassin.org> (sa-update.spamassassin.org <http://sa-update.spamassassin.org>)|64.142.56.146|:80... connected. HTTP request sent, awaiting response... *503 Service Unavailable* 2019-02-15 12:47:51 *ERROR 503*: Service Unavailable 2) wget http://sa-update.dnswl.org/1853564.tar.gz --2019-02-15 12:48:08-- http://sa-update.dnswl.org/1853564.tar.gz Resolving sa-update.dnswl.org <http://sa-update.dnswl.org> (sa-update.dnswl.org <http://sa-update.dnswl.org>)... 78.47.167.123, 2a01:4f8:d15:2fc0:ffff::20 Connecting to sa-update.dnswl.org <http://sa-update.dnswl.org> (sa-update.dnswl.org <http://sa-update.dnswl.org>)|78.47.167.123|:80... connected. HTTP request sent, awaiting response... *200 OK* Length: 295185 (288K) [application/x-gzip] Saving to: ‘1853564.tar.gz’ 100%[======================================================================>] So I ask you if it's possible to intervene on the mirror's list with some option so that to exclude the bad mirrors. Thanks in advance for who will answer me. Regards.