Exim SpamAssassin
OS: FreeBSD 8.2
Issues when running sa-update:
Updating Perl from 5.12 to 5.16, plus reinstalling LWP::Protocol
Making changes to /usr/local/etc/rc.d/sa-spamd
Adding to /etc/syslog.conf
Restarting syslog
Summary: SpamAssassin is working.
Errors appeared in the log:
spamd: creating default_prefs: /nonexistent/.spamassassin/user_prefs
config: cannot create user preferences file /nonexistent/.spamassassin/user_prefs:
spamd: failed to create readable default_prefs: /nonexistent/.spamassassin/user_prefs
The reason is that spamd runs as nobody, but should run as spamd. The root cause is in the lines of the Exim config:
Changed to spam = spamd:true. Now the logs are clean: