Package: spamassassin
Version: 3.4.0-6

cron.daily spamassassin fails because the tmp file can't be created. script 
seems to be executed in /root/

/etc/cron.daily/spamassassin:
util: failed to create a temporary file '/.spamassassin9891RWTlsmtmp': 
Permission denied at /usr/share/perl5/Mail/SpamAssassin/Util.pm line 1123.
sa-update failed for unknown reasons

Possible solutions:
- cron-script could specifiy /tmp or /var/lib/spamassassin when starting 
sa-update
- Util.pm tries to use Env-Var TMPDIR which doesn't seems to be configured, so 
it could be set to /tmp or /var/lib/spamassassine for the execution of sa-update


-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-0.bpo.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages spamassassin depends on:
ii  adduser                         3.113+nmu3
ii  init-system-helpers             1.22
pn  libarchive-tar-perl             <none>
ii  libhtml-parser-perl             3.71-1+b3
ii  libnet-dns-perl                 0.81-2
ii  libnetaddr-ip-perl              4.075+dfsg-1+b1
ii  libsocket6-perl                 0.25-1+b1
ii  libsys-hostname-long-perl       1.4-3
ii  libwww-perl                     6.08-1
ii  perl                            5.20.2-3+deb8u1
ii  perl-modules [libio-zlib-perl]  5.20.2-3+deb8u1

Versions of packages spamassassin recommends:
ii  gnupg                      1.4.18-7
ii  libio-socket-inet6-perl    2.72-1
ii  libmail-spf-perl           2.9.0-3
ii  perl [libsys-syslog-perl]  5.20.2-3+deb8u1
pn  sa-compile                 <none>
ii  spamc                      3.4.0-6

Versions of packages spamassassin suggests:
ii  libdbi-perl                   1.631-3+b1
ii  libio-socket-ssl-perl         2.002-2
pn  libmail-dkim-perl             <none>
ii  perl [libcompress-zlib-perl]  5.20.2-3+deb8u1
pn  pyzor                         <none>
pn  razor                         <none>

-- Configuration Files:
/etc/default/spamassassin changed:
ENABLED=1
OPTIONS="--create-prefs --max-children 1 --helper-home-dir"
PIDFILE="/var/run/spamd.pid"
CRON=1

/etc/spamassassin/local.cf changed:
report_safe 0
required_score 10.0
clear_report_template
report "_TESTSSCORES(, )_"
ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
endif # Mail::SpamAssassin::Plugin::Shortcircuit


-- no debconf information

Reply via email to