I have a spamassassin daemon used by exim on a FreeBSD 9.3 System that tries to use /nonexistent for its temp files and bayes-filter storage.
Passing the username or a home directory via the daemons flags in /etc/rc.conf does nothing to change this behaviour.
spamd_flags="-c -u spamd -H /var/spool/spamd"
The child processes spawned by the initial process are run by the user spamd (whose home directory is
/var/spool/spamd), but it still tries to use /nonexistent. The permissions of the directory are correct:
drwxr-xr-x 3 spamd spamd 3 Dec 20 18:15 spamd
/usr/local/etc/mail/spamassassin/local.cf does not change this behaviour either.
Apparently I'm not the only one who had the problem