Public bug reported:

The spamassassin-maintenance.timer calls the spamassassin-maintenance.service 
successfully, an update fails with the error message:
Jan 06 06:00:46 xxxxx systemd[1]: Starting spamassassin-maintenance.service - 
Daily update of spamassassin rules...
Jan 06 06:00:49 xxxxx spamassassin-maint[1184504]: error: unable to refresh 
mirrors file for channel updates.spamassassin.org, using old file

An nslookup of the URL updates.spamassassin.org fails:

nslookup updates.spamassassin.org
Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoritative response:
*** Can't find updates.spamassassin.org: No response

A manual run of sa-update is successful, it uses a different URL:


sudo sa-update -D
Jan  8 10:38:58.512 [1486067] dbg: logger: adding facilities: all
Jan  8 10:38:58.512 [1486067] dbg: logger: logging level is DBG
Jan  8 10:38:58.512 [1486067] dbg: generic: SpamAssassin version 4.0.0
Jan  8 10:38:58.512 [1486067] dbg: generic: Perl 5.038002, PREFIX=/usr, 
DEF_RULES_DIR=/usr/share/spamassassin, LOCAL_RULES_DIR=/etc/spamassassin, 
LOCAL_STATE_DIR=/var/lib/spamassassin
Jan  8 10:38:58.512 [1486067] dbg: config: timing enabled
Jan  8 10:38:58.513 [1486067] dbg: config: score set 0 chosen.
Jan  8 10:38:58.516 [1486067] dbg: generic: sa-update version 4.0.0 / svn1900642
Jan  8 10:38:58.517 [1486067] dbg: generic: using update directory: 
/var/lib/spamassassin/4.000000
Jan  8 10:38:58.843 [1486067] dbg: diag: perl platform: 5.038002 linux
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] module installed: Digest::SHA, 
version 6.04
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] module installed: HTML::Parser, 
version 3.81
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] module installed: Net::DNS, 
version 1.44
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] module installed: NetAddr::IP, 
version  4.079
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] module installed: Time::HiRes, 
version 1.9775
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] module installed: Archive::Tar, 
version 2.40
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] module installed: IO::Zlib, 
version 1.14
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
Digest::SHA1 ('require' failed)
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
MIME::Base64, version 3.16_01
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
DB_File, version 1.858
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Net::SMTP, version 3.15
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
Net::LibIDN2 ('require' failed)
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Net::LibIDN, version 0.12
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Mail::SPF, version 3.20240206
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
MaxMind::DB::Reader ('require' failed)
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
MaxMind::DB::Reader::XS ('require' failed)
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
Geo::IP ('require' failed)
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
IP::Country::DB_File ('require' failed)
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
IP::Country::Fast ('require' failed)
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Razor2::Client::Agent, version 2.84
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
IO::Socket::IP, version 0.4101
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
IO::Socket::INET6, version 2.73
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
IO::Socket::SSL, version 2.085
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Compress::Zlib, version 2.204
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Mail::DKIM, version 1.20230212
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: DBI, 
version 1.643
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
DBD::SQLite ('require' failed)
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
LWP::UserAgent, version 6.76
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
Encode::Detect::Detector ('require' failed)
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Net::Patricia, version 1.22
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Net::CIDR::Lite, version 0.22
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Net::DNS::Nameserver, version 1963
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
BSD::Resource, version 1.2911
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Archive::Zip, version 1.68
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
IO::String, version 1.08
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
Email::Address::XS ('require' failed)
Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Mail::DMARC, version 1.20230215
Jan  8 10:38:58.845 [1486067] dbg: gpg: Searching for 'gpg'
Jan  8 10:38:58.845 [1486067] dbg: util: current PATH is: 
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
Jan  8 10:38:58.846 [1486067] dbg: util: executable for gpg was found at 
/usr/bin/gpg
Jan  8 10:38:58.846 [1486067] dbg: gpg: found /usr/bin/gpg
Jan  8 10:38:58.846 [1486067] dbg: gpg: release trusted key id list: 
5E541DC959CB8BAC7C78DFDC4056A61A5244EC45 
0C2B1D7175B852C64B3CDC716C55397824F434CE
Jan  8 10:38:58.846 [1486067] dbg: util: secure_tmpfile created a temporary 
file /tmp/.spamassassin1486067Hyd3eStmp
Jan  8 10:38:58.846 [1486067] dbg: channel: attempting channel 
updates.spamassassin.org
Jan  8 10:38:58.847 [1486067] dbg: channel: using existing directory 
/var/lib/spamassassin/4.000000/updates_spamassassin_org
Jan  8 10:38:58.847 [1486067] dbg: channel: channel cf file 
/var/lib/spamassassin/4.000000/updates_spamassassin_org.cf
Jan  8 10:38:58.847 [1486067] dbg: channel: channel pre file 
/var/lib/spamassassin/4.000000/updates_spamassassin_org.pre
Jan  8 10:38:58.847 [1486067] dbg: channel: metadata version = 1922943, from 
file /var/lib/spamassassin/4.000000/updates_spamassassin_org.cf
Jan  8 10:38:58.855 [1486067] dbg: dns: 0.0.4.updates.spamassassin.org => 
1922943, parsed as 1922943
Jan  8 10:38:58.855 [1486067] dbg: channel: current version is 1922943, new 
version is 1922943, skipping channel
Jan  8 10:38:58.856 [1486067] dbg: diag: updates complete, exiting with code 1

It uses the URL 0.0.4.updates.spamassassin.org.

nslookup ist successful:

nslookup 0.0.4.updates.spamassassin.org
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
0.0.4.updates.spamassassin.org  canonical name = 3.3.3.updates.spamassassin.org.

** Affects: spamassassin (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

- The spamassassin-maintenance.timer calls the spamassassin-maintenance.service 
successfully, an update fails with the error message: 
+ The spamassassin-maintenance.timer calls the spamassassin-maintenance.service 
successfully, an update fails with the error message:
  Jan 06 06:00:46 xxxxx systemd[1]: Starting spamassassin-maintenance.service - 
Daily update of spamassassin rules...
  Jan 06 06:00:49 xxxxx spamassassin-maint[1184504]: error: unable to refresh 
mirrors file for channel updates.spamassassin.org, using old file
  
  An nslookup of the URL updates.spamassassin.org fails:
  
  nslookup updates.spamassassin.org
  Server: 127.0.0.1
  Address: 127.0.0.1#53
  
  Non-authoritative response:
  *** Can't find updates.spamassassin.org: No response
  
  A manual run of sa-update is successful, it uses a different URL:
  
- Translated with DeepL.com (free version)
  
  sudo sa-update -D
  Jan  8 10:38:58.512 [1486067] dbg: logger: adding facilities: all
  Jan  8 10:38:58.512 [1486067] dbg: logger: logging level is DBG
  Jan  8 10:38:58.512 [1486067] dbg: generic: SpamAssassin version 4.0.0
  Jan  8 10:38:58.512 [1486067] dbg: generic: Perl 5.038002, PREFIX=/usr, 
DEF_RULES_DIR=/usr/share/spamassassin, LOCAL_RULES_DIR=/etc/spamassassin, 
LOCAL_STATE_DIR=/var/lib/spamassassin
  Jan  8 10:38:58.512 [1486067] dbg: config: timing enabled
  Jan  8 10:38:58.513 [1486067] dbg: config: score set 0 chosen.
  Jan  8 10:38:58.516 [1486067] dbg: generic: sa-update version 4.0.0 / 
svn1900642
  Jan  8 10:38:58.517 [1486067] dbg: generic: using update directory: 
/var/lib/spamassassin/4.000000
  Jan  8 10:38:58.843 [1486067] dbg: diag: perl platform: 5.038002 linux
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] module installed: Digest::SHA, 
version 6.04
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] module installed: 
HTML::Parser, version 3.81
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] module installed: Net::DNS, 
version 1.44
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] module installed: NetAddr::IP, 
version  4.079
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] module installed: Time::HiRes, 
version 1.9775
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] module installed: 
Archive::Tar, version 2.40
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] module installed: IO::Zlib, 
version 1.14
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
Digest::SHA1 ('require' failed)
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
MIME::Base64, version 3.16_01
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
DB_File, version 1.858
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Net::SMTP, version 3.15
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
Net::LibIDN2 ('require' failed)
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Net::LibIDN, version 0.12
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Mail::SPF, version 3.20240206
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
MaxMind::DB::Reader ('require' failed)
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
MaxMind::DB::Reader::XS ('require' failed)
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
Geo::IP ('require' failed)
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
IP::Country::DB_File ('require' failed)
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
IP::Country::Fast ('require' failed)
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Razor2::Client::Agent, version 2.84
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
IO::Socket::IP, version 0.4101
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
IO::Socket::INET6, version 2.73
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
IO::Socket::SSL, version 2.085
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Compress::Zlib, version 2.204
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Mail::DKIM, version 1.20230212
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
DBI, version 1.643
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
DBD::SQLite ('require' failed)
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
LWP::UserAgent, version 6.76
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
Encode::Detect::Detector ('require' failed)
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Net::Patricia, version 1.22
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Net::CIDR::Lite, version 0.22
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Net::DNS::Nameserver, version 1963
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
BSD::Resource, version 1.2911
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Archive::Zip, version 1.68
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
IO::String, version 1.08
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module not installed: 
Email::Address::XS ('require' failed)
  Jan  8 10:38:58.843 [1486067] dbg: diag: [...] optional module installed: 
Mail::DMARC, version 1.20230215
  Jan  8 10:38:58.845 [1486067] dbg: gpg: Searching for 'gpg'
  Jan  8 10:38:58.845 [1486067] dbg: util: current PATH is: 
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
  Jan  8 10:38:58.846 [1486067] dbg: util: executable for gpg was found at 
/usr/bin/gpg
  Jan  8 10:38:58.846 [1486067] dbg: gpg: found /usr/bin/gpg
  Jan  8 10:38:58.846 [1486067] dbg: gpg: release trusted key id list: 
5E541DC959CB8BAC7C78DFDC4056A61A5244EC45 
0C2B1D7175B852C64B3CDC716C55397824F434CE
  Jan  8 10:38:58.846 [1486067] dbg: util: secure_tmpfile created a temporary 
file /tmp/.spamassassin1486067Hyd3eStmp
  Jan  8 10:38:58.846 [1486067] dbg: channel: attempting channel 
updates.spamassassin.org
  Jan  8 10:38:58.847 [1486067] dbg: channel: using existing directory 
/var/lib/spamassassin/4.000000/updates_spamassassin_org
  Jan  8 10:38:58.847 [1486067] dbg: channel: channel cf file 
/var/lib/spamassassin/4.000000/updates_spamassassin_org.cf
  Jan  8 10:38:58.847 [1486067] dbg: channel: channel pre file 
/var/lib/spamassassin/4.000000/updates_spamassassin_org.pre
  Jan  8 10:38:58.847 [1486067] dbg: channel: metadata version = 1922943, from 
file /var/lib/spamassassin/4.000000/updates_spamassassin_org.cf
  Jan  8 10:38:58.855 [1486067] dbg: dns: 0.0.4.updates.spamassassin.org => 
1922943, parsed as 1922943
  Jan  8 10:38:58.855 [1486067] dbg: channel: current version is 1922943, new 
version is 1922943, skipping channel
  Jan  8 10:38:58.856 [1486067] dbg: diag: updates complete, exiting with code 1
  
  It uses the URL 0.0.4.updates.spamassassin.org.
  
  nslookup ist successful:
  
  nslookup 0.0.4.updates.spamassassin.org
  Server:         127.0.0.1
  Address:        127.0.0.1#53
  
  Non-authoritative answer:
  0.0.4.updates.spamassassin.org  canonical name = 
3.3.3.updates.spamassassin.org.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2093242

Title:
  spamassassin-maintenance.service fails due to non existing url

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/2093242/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to