On Wed, 9 Sep 2015 13:47:01 +0200 Marc Richter wrote:
> > On 09.09.2015 11:12 Matus wrote: > > > > have you tried running spamassassin -D ? maybe there's somethign > > invalid in SA's configuration or your user_prefs > > When I issue "spamassassin --test-mode -D" as the user the filter.sh > - runs as, I get this in the long output: > > dbg: config: read file /var/lib/spamassassin/.spamassassin/user_prefs > > So, it tries to read the user_prefs from the daemon's home, what is > clear, because it cannot know what user the file "belongs" to, in > test-mode. you can use -p or alternately set HOME > When I run that as the user (ww) the mail and desired > user_prefs belongs to, it works, so no use in that. Do you mean that ww is a unix user? The normal way to do this is to run spamd as root and run spamc as the unix user. Passing -u to spamc is really intended for virtual users, I'm not sure whether it works for unix users. Are you sure it worked before?