Topic: spamassassin cron.daily fail
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version (check /etc/iredmail-release): v0.9.4
- Linux/BSD distribution name and version: Debian Jessie
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? v2.3.1
- Related log if you're reporting an issue:
====
Hi, each day the cron.daily of spamassassin return this error:
gpg: WARNING: unsafe ownership on homedir `/etc/spamassassin/sa-update-keys'
gpg: failed to create temporary file `/etc/spamassassin/sa-update-keys/.#lk0x1c953e0.mail.22583': Permission denied
gpg: keyblock resource `/etc/spamassassin/sa-update-keys/secring.gpg': general error
gpg: failed to create temporary file `/etc/spamassassin/sa-update-keys/.#lk0x1c958e0.mail.22583': Permission denied
gpg: keyblock resource `/etc/spamassassin/sa-update-keys/pubring.gpg': general error
gpg: no writable keyring found: eof
gpg: error reading `/usr/share/spamassassin/sa-update-pubkey.txt': general error
gpg: import from `/usr/share/spamassassin/sa-update-pubkey.txt' failed: general error
gpg: process '/usr/bin/gpg --homedir='/etc/spamassassin/sa-update-keys' --batch --no-tty --status-fd=1 -q --logger-fd=1 --import' finished: exit 2
./spamassassin: 74: ./spamassassin: --gpghomedir: not found
sa-update failed for unknown reasons
permissions /etc/spamassassin
-rw-r--r-- 1 root root 939 Jan 29 2013 65_debian.cf
-rw-r--r-- 1 root root 1289 Jan 31 2015 init.pre
-rw-r--r-- 1 root root 4974 Nov 11 10:08 local.cf
-rw-r--r-- 1 root root 2214 Oct 8 2013 local.cf.2013.10.08.17.43.30
-rw-r--r-- 1 root root 2213 Jan 31 2015 local.cf.dpkg-dist
-rw-r--r-- 1 root root 4487 Nov 11 09:59 local.cf.stable
-rw-r--r-- 1 root root 118 Jan 31 2015 sa-compile.pre
drwxr-xr-x 2 root root 4096 Apr 15 09:37 sa-update-hooks.d
drwx------ 2 root root 4096 Apr 7 09:13 sa-update-keys
-rw-r--r-- 1 root root 2524 Jan 29 2013 v310.pre
-rw-r--r-- 1 root root 1194 Jan 29 2013 v312.pre
-rw-r--r-- 1 root root 2416 Jan 29 2013 v320.pre
-rw-r--r-- 1 root root 1237 Jan 29 2013 v330.pre
-rw-r--r-- 1 root root 1020 Jan 31 2015 v340.pre
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.