On Mon, 9 Nov 2015 15:23:52 +0000 Phil Reynolds wrote:
> > /var/mail/.spamassassin/user_prefs spamd seems to be treating /var/mail/ as a home directory. I would have expected .spamassassin to be in a directory owned by the spamd user. > Not there at all. > > > and which user does spamassassin run as on your system? > > root - which I'm slightly surprised at. You're probably looking at the main process, rather than child processes that scan the mail. When you look at the output of ps, take a look a the child processes and also look at the arguments to the parent processes. > claws-mail's plugin is supposed to allow spamassassin to be trained as > to what is spam and what is ham, on those occasions it decides > incorrectly. AFAIK the purpose of the claws-mail plugin is to scan mail by passing it to spamc, not to train it. I'm wondering if the errors in the logs are caused by the plugin calling spamc, rather than exim calling it. > > How is spamassassin being called in order to give its opinion on > > email? > > exim is calling it. The results also appear in syslog.