spamassassin 每周抱怨两次:无法打开文件

spamassassin 每周抱怨两次:无法打开文件

我们的 postfix/spamssassin 不定期地但至少每周两次通过邮件发送以下消息:

/etc/cron.daily/spamassassin:
Cannot open file /var/lib/spamassassin/3.004002/updates_spamassassin_org/1906307.tar.gz: No such file or directory at /usr/bin/sa-update line 1603.
Jan  2 05:39:18.671 [21712] dbg: logger: adding facilities: all
Jan  2 05:39:18.674 [21712] dbg: logger: logging level is DBG
Jan  2 05:39:18.674 [21712] dbg: generic: SpamAssassin version 3.4.2
Jan  2 05:39:18.674 [21712] dbg: generic: Perl 5.018002, PREFIX=/usr, DEF_RULES_DIR=/usr/share/spamassassin, LOCAL_RULES_DIR=/etc/spamassassin, LOCAL_STATE_DIR=/var/lib/spamassassin
Jan  2 05:39:18.674 [21712] dbg: config: timing enabled
Jan  2 05:39:18.678 [21712] dbg: config: score set 0 chosen.
Jan  2 05:39:18.681 [21712] dbg: util: running in taint mode? yes
Jan  2 05:39:18.681 [21712] dbg: util: taint mode: deleting unsafe environment variables, resetting PATH
Jan  2 05:39:18.681 [21712] dbg: util: PATH included '/usr/local/bin', keeping
Jan  2 05:39:18.681 [21712] dbg: util: PATH included '/usr/bin', keeping
Jan  2 05:39:18.681 [21712] dbg: util: PATH included '/bin', keeping
Jan  2 05:39:18.681 [21712] dbg: util: PATH included '/usr/local/games', keeping
Jan  2 05:39:18.681 [21712] dbg: util: PATH included '/usr/games', keeping
Jan  2 05:39:18.682 [21712] dbg: util: final PATH set to: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
Jan  2 05:39:19.034 [21712] dbg: diag: perl platform: 5.018002 linux
Jan  2 05:39:19.034 [21712] dbg: diag: [...] module installed: Digest::SHA, version 5.84_01
Jan  2 05:39:19.034 [21712] dbg: diag: [...] module installed: HTML::Parser, version 3.71
Jan  2 05:39:19.034 [21712] dbg: diag: [...] module installed: Net::DNS, version 0.68
Jan  2 05:39:19.034 [21712] dbg: diag: [...] module installed: NetAddr::IP, version 4.071
Jan  2 05:39:19.034 [21712] dbg: diag: [...] module installed: Time::HiRes, version 1.9725
Jan  2 05:39:19.035 [21712] dbg: diag: [...] module installed: Archive::Tar, version 1.90
Jan  2 05:39:19.035 [21712] dbg: diag: [...] module installed: IO::Zlib, version 1.10
Jan  2 05:39:19.035 [21712] dbg: diag: [...] module not installed: Digest::SHA1 ('require' failed)
Jan  2 05:39:19.035 [21712] dbg: diag: [...] module installed: MIME::Base64, version 3.13
Jan  2 05:39:19.035 [21712] dbg: diag: [...] module installed: DB_File, version 1.827
Jan  2 05:39:19.035 [21712] dbg: diag: [...] module installed: Net::SMTP, version 2.31
Jan  2 05:39:19.035 [21712] dbg: diag: [...] module installed: Mail::SPF, version v2.009
Jan  2 05:39:19.035 [21712] dbg: diag: [...] module not installed: Geo::IP ('require' failed)
Jan  2 05:39:19.035 [21712] dbg: diag: [...] module not installed: Net::CIDR::Lite ('require' failed)
Jan  2 05:39:19.035 [21712] dbg: diag: [...] module installed: Razor2::Client::Agent, version 2.84
Jan  2 05:39:19.035 [21712] dbg: diag: [...] module not installed: IO::Socket::IP ('require' failed)
Jan  2 05:39:19.035 [21712] dbg: diag: [...] module installed: IO::Socket::INET6, version 2.71
Jan  2 05:39:19.036 [21712] dbg: diag: [...] module installed: IO::Socket::SSL, version 1.965
Jan  2 05:39:19.036 [21712] dbg: diag: [...] module installed: Compress::Zlib, version 2.06
Jan  2 05:39:19.036 [21712] dbg: diag: [...] module installed: Mail::DKIM, version 0.4
Jan  2 05:39:19.036 [21712] dbg: diag: [...] module installed: DBI, version 1.63
Jan  2 05:39:19.036 [21712] dbg: diag: [...] module installed: Getopt::Long, version 2.39
Jan  2 05:39:19.036 [21712] dbg: diag: [...] module installed: LWP::UserAgent, version 6.05
Jan  2 05:39:19.036 [21712] dbg: diag: [...] module installed: HTTP::Date, version 6.02
Jan  2 05:39:19.036 [21712] dbg: diag: [...] module installed: Encode::Detect::Detector, version 1.01
Jan  2 05:39:19.036 [21712] dbg: diag: [...] module not installed: Net::Patricia ('require' failed)
Jan  2 05:39:19.036 [21712] dbg: diag: [...] module installed: Net::DNS::Nameserver, version 970
Jan  2 05:39:19.037 [21712] dbg: diag: [...] module installed: BSD::Resource, version 1.2907
Jan  2 05:39:19.037 [21712] dbg: ignore: using a test message to lint rules
Jan  2 05:39:19.037 [21712] dbg: config: using "/etc/spamassassin" for site rules pre files
Jan  2 05:39:19.037 [21712] dbg: config: read file /etc/spamassassin/init.pre
Jan  2 05:39:19.038 [21712] dbg: config: read file /etc/spamassassin/sa-compile.pre
Jan  2 05:39:19.038 [21712] dbg: config: read file /etc/spamassassin/v310.pre
Jan  2 05:39:19.038 [21712] dbg: config: read file /etc/spamassassin/v312.pre
Jan  2 05:39:19.038 [21712] dbg: config: read file /etc/spamassassin/v320.pre
Jan  2 05:39:19.038 [21712] dbg: config: read file /etc/spamassassin/v330.pre
Jan  2 05:39:19.038 [21712] dbg: config: read file /etc/spamassassin/v340.pre
Jan  2 05:39:19.039 [21712] dbg: config: read file /etc/spamassassin/v341.pre
Jan  2 05:39:19.039 [21712] dbg: config: read file /etc/spamassassin/v342.pre
Jan  2 05:39:19.039 [21712] dbg: config: using "/var/lib/spamassassin/3.004002" for sys rules pre files
Jan  2 05:39:19.039 [21712] dbg: config: using "/var/lib/spamassassin/3.004002" for default rules dir
Jan  2 05:39:19.040 [21712] dbg: config: read file /var/lib/spamassassin/3.004002/updates_spamassassin_org.cf
Jan  2 05:39:19.040 [21712] dbg: config: using "/etc/spamassassin" for site rules dir
Jan  2 05:39:19.040 [21712] dbg: config: read file /etc/spamassassin/65_debian.cf
Jan  2 05:39:19.040 [21712] dbg: config: read file /etc/spamassassin/local.cf
Jan  2 05:39:19.041 [21712] dbg: config: using "/var/lib/spamassassin/.spamassassin/user_prefs" for user prefs file
Jan  2 05:39:19.041 [21712] dbg: config: read file /var/lib/spamassassin/.spamassassin/user_prefs
Jan  2 05:39:19.042 [21712] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
Jan  2 05:39:19.048 [21712] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
Jan  2 05:39:19.051 [21712] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
Jan  2 05:39:19.057 [21712] dbg: plugin: loading Mail::SpamAssassin::Plugin::TextCat from @INC
Jan  2 05:39:19.059 [21712] dbg: textcat: loading languages file /usr/share/spamassassin/languages
Jan  2 05:39:19.117 [21712] dbg: textcat: loaded 73 language models
Jan  2 05:39:19.122 [21712] dbg: plugin: loading Mail::SpamAssassin::Plugin::Rule2XSBody from @INC
Jan  2 05:39:19.126 [21712] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
Jan  2 05:39:19.129 [21712] dbg: pyzor: local tests only, disabling Pyzor
Jan  2 05:39:19.129 [21712] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
Jan  2 05:39:19.131 [21712] dbg: razor2: local tests only, skipping Razor
Jan  2 05:39:19.132 [21712] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
Jan  2 05:39:19.134 [21712] dbg: reporter: local tests only, disabling SpamCop

(实际的错误信息要长得多,可以根据要求发布)。问题显然与每日更新有关,我认为是自动更新,但是 - 由于大多数时候它似乎都在工作 - 问题到底是什么?下载失败?没有写入权限?

是否有任何设置可以帮助我们追踪此问题?

答案1

这是一个错误,更多详细信息请参阅 https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7662

相关内容