Red Hat Bugzilla – Bug 501827
Spamassassin default user "nobody" raises problem with bayes, autolearn, etc
Last modified: 2009-05-21 12:08:56 EDT
Description of problem:
There is no "untouched package way" to use spamassassin with autolearn auto-whitelist feature just fine.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install spamassassin
2. Enable spamd service with default config
3. Look at syslog for spamd process. Lots of errors trying to access/create /.spamassassin/ directory, etc
Errors. Spamassassin not being able to autolearn spam messages.
Out of the box option for enabling spamd for in-site configuration, and being able to build the bayes database and auto-whitelist thing
It seems spamd runs as user nobody, and user nobody home is ... /? so spamd tries to use/create /.spamassassin/user_prefs, etc...
May be the best is to create a spamd user on the RPM scripts, etc and run spamc/spamd with that user? may be home must be set to /var/lib/spamassassin ?
I can't reproduce this issue. spamd reads and writes .spamassassin in the home directory of the user running spamc.
As you said, probably an issue with cyrus-imapd. Talk to that project.