When running sa-update it complains about not being able to write it's key files: 7of9 spamassassin # sa-update --import GPG.KEY gpg: keyblock resource `/etc/mail/spamassassin/sa-update-keys/secring.gpg': No such file or directory gpg: keyblock resource `/etc/mail/spamassassin/sa-update-keys/pubring.gpg': No such file or directory gpg: no writable keyring found: Unknown system error gpg: error reading `GPG.KEY': General error gpg: import from `GPG.KEY' failed: General error Creating the directory /etc/mail/spamassassin/sa-update-keys fixes that, and chmod 700 also removes a warning. gpg: WARNING: unsafe permissions on homedir `/etc/mail/spamassassin/sa-update-keys' Creating this directory and setting proper permissions on it, should have been done by the ebuild during installation. Reproducible: Always
Please reopen if this is still an issue with current spamassassin.
This is still an issue in the current stable in portage (mail-filter/spamassassin-3.3.2-r5).
Still a problem with [ebuild R ] mail-filter/spamassassin-3.3.2-r5 USE="berkdb ipv6 ldap postgres sqlite ssl -doc -mysql -qmail" 0 KiB
I just fixed this in spamassassin-3.4.1-r3: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=323640f36b897eb908b406dfd570613dd323af9c Please let me know if you still have any problems.