Early last week with the help of Matt Kettler I thought I had put my Bayes
DB permission issues to rest well apparently not.

I am running SA 2.64 with AMAVISD-NEW, and postfix.

here is my local.cf


######################

use_bayes 1
auto_learn 1

bayes_file_mode 0777
bayes_path /etc/mail/spamassassin/bayes

# rewrite the Subject: line with ****SPAM**** .* if set to 1 (default=1)
rewrite_subject 0
# report briefly, recommended for report_header==1 (default=0)
use_terse_report 1

##############################

#amavisd-new runs as user.group vscan.vscan
#I have two human users both of which belong to the group users


#contents of /etc/mail/spamassassin/

/etc/mail/spamassassin> ls -l
total 1252
-rw-------    1 vscan    vscan       27827 2004-09-06 00:11 bayes_journal
-rw-rw-r--    1 vscan    users       86016 2004-09-06 00:10 bayes_seen
-rw-rw-r--    1 vscan    users     1314816 2004-09-06 00:10 bayes_toks
-rw-rw-r--    1 vscan    users         383 2004-09-05 00:03 local.cf
[EMAIL PROTECTED]:/etc/mail/spamassassin>

#This is the crontab entry for sa-learn

0 0 * * * sa-learn --spam -C /etc/mail/spamassassin --showdots --mbox
/home/usr01/mail/Suspected-Spam

#The output:

bayes: bad permissions on journal, can't read:
/etc/mail/spamassassin/bayes_journal

Why isn't the journal file being created with 666 perms?

Thanks,
JP

Reply via email to