I'm tyring to use a global bayes database... but when user's try to feed it spam a nd ham with sa-learn it does the following... right now I even have the bayes directory set 777 just to debug.. what am I doing wrong?
debug: Score set 0 chosen. debug: running in taint mode? yes debug: Running in taint mode, removing unsafe env vars, and resetting PATH debug: PATH included '/usr/bin', keeping. debug: PATH included '/bin', keeping. debug: PATH included '/usr/local/bin', keeping. debug: PATH included '/usr/X11R6/bin', keeping. debug: PATH included '/home/matth/bin', which doesn't exist, dropping. debug: Final PATH set to: /usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin debug: using "/etc/mail/spamassassin" for default rules dir debug: using "/etc/mail/spamassassin" for site rules dir debug: using "/root/.spamassassin/user_prefs" for user prefs file debug: bayes: 9236 tie-ing to DB file R/O /etc/mail/spamassassin/bayes/bayes_toks Cannot open bayes databases /etc/mail/spamassassin/bayes/bayes_* R/O: tie failed: Permission denied debug: Score set 0 chosen. debug: Initialising learner debug: Initialising learner debug: Syncing Bayes journal and expiring old tokens... debug: lock: 9236 created /etc/mail/spamassassin/bayes/bayes.lock.smtp2-ha.chilitech.net.9236 debug: lock: 9236 trying to get lock on /etc/mail/spamassassin/bayes/bayes with 0 retries debug: lock: 9236 link to /etc/mail/spamassassin/bayes/bayes.lock: link ok debug: bayes: 9236 tie-ing to DB file R/W /etc/mail/spamassassin/bayes/bayes_toks debug: unlock: 9236 unlink /etc/mail/spamassassin/bayes/bayes.lock Cannot open bayes databases /etc/mail/spamassassin/bayes/bayes_* R/W: tie failed: Permission denied debug: Syncing complete. debug: Learning Ham debug: uri tests: Done uriRE debug: lock: 9236 created /etc/mail/spamassassin/bayes/bayes.lock.smtp2-ha.chilitech.net.9236 debug: lock: 9236 trying to get lock on /etc/mail/spamassassin/bayes/bayes with 0 retries debug: lock: 9236 link to /etc/mail/spamassassin/bayes/bayes.lock: link ok debug: bayes: 9236 tie-ing to DB file R/W /etc/mail/spamassassin/bayes/bayes_toks debug: unlock: 9236 unlink /etc/mail/spamassassin/bayes/bayes.lock Cannot open bayes databases /etc/mail/spamassassin/bayes/bayes_* R/W: tie failed: Permission denied Learned from 0 message(s) (1 message(s) examined). debug: bayes: 9236 untie-ing debug: bayes: 9236 untie-ing db_toks ERROR: the Bayes learn function returned an error, please re-run with -D for more information