I'm upgrading my existing server farm from SpamAss 3.0.x to 3.1.0... all
is fine except Bayes. Identical setup, no pathing changes, same local.cf
file - everything... but bayes isn't working.

Here are my bayes setups in my local.cf:

use_bayes 1
use_bayes_rules 1

bayes_auto_learn 1
bayes_auto_learn_threshold_nonspam 0.8
bayes_auto_learn_threshold_spam 12.0
bayes_auto_expire 1
bayes_expiry_max_db_size 150000
bayes_journal_max_size 102400
bayes_learn_to_journal  1
bayes_path /usr/local/etc/bayes/bayes
bayes_file_mode 0777
lock_method flock
score BAYES_00 -3.5
score BAYES_50 -1.0
score BAYES_60 0.3
score BAYES_70 0.7
score BAYES_80 1.0
score BAYES_90 1.5
score BAYES_95 2.0
score BAYES_99 3.5

Now... I've been using a server-side bayes where everyone uses the same
bayes files which has been working GREAT, and it's easier for me to push
known spam updates via a distribution script to all our servers at once,
making it so ALL users get our bayes changes...

The bayes files live in /usr/local/etc/bayes/bayes just like the config
says...

The permissions are correct, as you can see below:

drwxr-xr-x  8 root   wheel   1024 Feb 12 01:44 ../
drwxrwxrwx  3 root   wheel   3072 Feb 12 03:43 ./
-rw-rw-rw-  1 root   wheel     30 Feb 12 03:05 bayes.mutex
-rw-rw-rw-  1 loria  wheel     58 Feb  2 00:20 bayes.lock
-rw-rw-rw-  1 root   wheel  65536 Feb 12 13:05 bayes_toks
-rw-rw-rw-  1 root   wheel  65536 Feb 12 13:05 bayes_seen

And in the user accounts, inside ~user/.spamassassin, I have:
lrwxr-xr-x   1 root      techs    56 Feb 12 03:12 user_prefs@ ->
/usr/local/apache/htdocs/squirrelmail/data/username_goes_here.spam
lrwxr-xr-x   1 root      techs    31 Feb 12 04:45 bayes_toks@ ->
/usr/local/etc/bayes/bayes_toks
lrwxr-xr-x   1 root      techs    31 Feb 12 04:45 bayes_seen@ ->
/usr/local/etc/bayes/bayes_seen
lrwxr-xr-x   1 root      techs    34 Feb 12 04:45 bayes_journal@ ->
/usr/local/etc/bayes/bayes_journal
(where username_goes_here is the name of the user who's account it is)

... and all that works GREAT on 3.0.x, but broke on 3.1.0...

"Broke" as in no bayes scoring is going on in logs, no activity going on
in the bayes directory of /usr/local/etc/bayes as shown above.

Any ideas? Thanks!



Reply via email to