postfix/procmail/spamassassin permissions issues
I've never quite "gotten" how spamassassin permissions are supposed to
set in users' home directories, and nothing in the documentation directly
addresses the issue.
I'm running sarge with postfix, mailman (using the spamassassin option),
procmail, and spamassassin daemon mode (spamd).
I get errors in syslog as follows:
spamd: cannot write to /home/adam/.spamassassin/bayes_journal, Bayes db update ignored: Permission denied
spamd: Cannot open bayes databases /home/adam/.spamassassin/bayes_* R/O: tie failed: Permission denied
/home/adam/.spamassassin is world readable and executable. bayes_journal
is read and write only by me.
But who is spamd running as? ps aux reports it running as root, so that
shouldn't have a problem. Even if it's running as me, it still shouldn't
be a problem. So why permission denied?
/usr/share/doc/spamassassin/README.spamd suggests that spamd is supposed
to run as root and drop to the uid of the user to whom mail is being
Are these files really supposed to be world readable and writable? That
seems like the wrong way to do it.
Am I missing something here?