I'm having some
problems with Spamassassin 2.55 (using spamd) and both it's Bayesian and Razor2
components. Firstly, I'm getting the following error in the spamassassin
debugging - "debug: bayes: no dbs present, cannot scan:
/var/amavisd/.spamassassin/bayes_toks". I've been able to teach the database, as
shown below, but spamd is still having the same problem scanning the
file.
#
./check_bayes_db
0.000 0 0 0 non-token data: db format = on-the-fly probs, expiry, scan-counting
0.000 0 278 0 non-token data: nspam
0.000 0 1 0 non-token data: nham
0.000 0 30640 0 non-token data: ntokens
0.000 0 0 0 non-token data: oldest age
0.000 0 5842 0 non-token data: current scan-count
0.000 0 0 0 non-token data: last expiry scan-count
0.000 0 0 0 non-token data: db format = on-the-fly probs, expiry, scan-counting
0.000 0 278 0 non-token data: nspam
0.000 0 1 0 non-token data: nham
0.000 0 30640 0 non-token data: ntokens
0.000 0 0 0 non-token data: oldest age
0.000 0 5842 0 non-token data: current scan-count
0.000 0 0 0 non-token data: last expiry scan-count
The permissions on the bayes_* files are set such that the "spamd" user can read/write, and I've made sure the DB_File Perl module is installed.
My second problem is that Razor2 is shown as being available, but doesn't seem to be doing anything. If I run "razor-admin -discover" then I get a load of logging, but I'm getting no Razor logging at all when spamassassin checks a message. All the useful debugging I'm getting is:
spamd[64459]: debug: bayes: no dbs
present, cannot scan: /var/amavisd/.spamassassin/bayes_toks
spamd[64459]: debug: is Net::DNS::Resolver available? yes
spamd[64459]: debug: running header regexp tests; score so far=0
spamd[64459]: debug: running body-text per-line regexp tests; score so far=3.3
spamd[64459]: debug: running raw-body-text per-line regexp tests; score so far=3.3
spamd[64459]: debug: running uri tests; score so far=3.3
spamd[64459]: debug: uri tests: Done uriRE
spamd[64459]: debug: running full-text regexp tests; score so far=3.3
spamd[64459]: debug: Razor2 is available
spamd[64459]: debug: Razor2 is available
spamd[64459]: debug: entering helper-app run mode
spamd[64459]: debug: Using results from Razor v2.36
spamd[64459]: debug: Found Razor2 part: part=0 engine=4 ct=0 cf=0
spamd[64459]: debug: leaving helper-app run mode
spamd[64459]: debug: Razor2 results: spam? 0 highest cf score: 0
spamd[64459]: debug: is Net::DNS::Resolver available? yes
spamd[64459]: debug: running header regexp tests; score so far=0
spamd[64459]: debug: running body-text per-line regexp tests; score so far=3.3
spamd[64459]: debug: running raw-body-text per-line regexp tests; score so far=3.3
spamd[64459]: debug: running uri tests; score so far=3.3
spamd[64459]: debug: uri tests: Done uriRE
spamd[64459]: debug: running full-text regexp tests; score so far=3.3
spamd[64459]: debug: Razor2 is available
spamd[64459]: debug: Razor2 is available
spamd[64459]: debug: entering helper-app run mode
spamd[64459]: debug: Using results from Razor v2.36
spamd[64459]: debug: Found Razor2 part: part=0 engine=4 ct=0 cf=0
spamd[64459]: debug: leaving helper-app run mode
spamd[64459]: debug: Razor2 results: spam? 0 highest cf score: 0
Please help!
Many thanks
Stuart
---------------------------------------------------------------------------------------------
This e-mail was checked and validated by the dns email content management service.
For information on how to improve your organisations email management contact [EMAIL PROTECTED]
---------------------------------------------------------------------------------------------