On Wed, 14 Jul 2004 21:30:12 -0500, Steven Stern <[EMAIL PROTECTED]> wrote:
>debug: mkdir /root/.spamassassin failed: mkdir /root/.spamassassin: >Permission denied at /usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin.pm >line 1279 Permission denied For the record, the problem is solved. It turns out that it had to do with the process starting out as "root" then dropping to "nobody". Steps to fix it: 1. Create /var/spool/spamassassin, chown "root:nobody", chmod 774. 2. Move all files from /root/.spamassassin into the above and set ownership to root:nobody 3. Edit /etc/mail/spamassassin/local.cf add auto_whitelist_path /var/spool/spamassassin/auto_whitelist bayes_path /var/spool/spamassassin/bayes 4. edit the sa-learn scripts for the "should-be-spam" and "should-be-ham" mailboxes to use "--dbpath /var/spool/spamassassin/bayes" 5. Restart spamd. There are no longer any errors in the maillog and spamassassin is autolearning -- Steve
