> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 21 February 2003 17:38
> To: Tony Hoyle
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: [SAtalk] db not initialised yet? 
> 
> that should be fine -- sounds like either (a) it's looking in 
> the wrong
> path or (b) the db files could have been written with a 
> different version
> of perl.  (perl's db support changed between 5.6 and 5.8, and 
> the files
> are incompatible.)
> 
Only one version of perl here AFAIK... The database path is specified in
local.cf so I can't see it changing (no local users so there's no point in
trying to have separate bayes dbs).

It's started working on some mail, but not others.  spamd still gives the
'db not initialised' error (although I don't normally use spamd for mail so
it might not be 100% accurate).

Full path...

debug: Score set 0 chosen.
debug: running in taint mode? no
debug: ignore: test message to precompile patterns and load modules
debug: using "/usr/share/spamassassin" for default rules dir
debug: using "/etc/spamassassin" for site rules dir
debug: Failed to parse line in SpamAssassin configuration, skipping:
report_head
er 1
debug: Failed to parse line in SpamAssassin configuration, skipping:
defang_mime
 0
debug: bayes: tie-ing to DB file R/O
/var/lib/amavis/.spamassassin/bayes_toks
debug: bayes: tie-ing to DB file R/O
/var/lib/amavis/.spamassassin/bayes_seen
debug: Score set 3 chosen.
debug: Initialising learner
debug: is Net::DNS::Resolver available? yes
debug: trying (3) kernel.org...
debug: looking up MX for 'kernel.org'
debug: MX for 'kernel.org' exists? 1
debug: MX lookup of kernel.org succeeded => Dns available (set dns_available
to
hardcode)
debug: is DNS available? 1
debug: running header regexp tests; score so far=0
debug: running body-text per-line regexp tests; score so far=1.3
debug: entering helper-app run mode
razor2 check skipped: No such file or directory Can't locate
Razor2/Client/Agent
.pm in @INC (@INC contains: ../lib
/home/duncf/spamassassin-nightly-build/spamas
sassin/debian/spamassassin/usr/local/share/perl/5.6.1 /etc/perl
/usr/local/lib/p
erl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/p
erl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl .) at
/usr/share/perl5/
Mail/SpamAssassin/Dns.pm line 377.
debug: leaving helper-app run mode
debug: Razor2 results: spam? 0  highest cf score: 0
debug: bayes corpus size: nspam = 765, nham = 1814
debug: tokenize: header tokens for *F =
"[EMAIL PROTECTED]
"
debug: tokenize: header tokens for *m = " 1045850439 39312
spamassassin_spamd_in
it "
debug: cannot use bayes on this message; db not initialised yet
debug: bayes: not scoring message, returning 0.5
debug: running raw-body-text per-line regexp tests; score so far=1.3
debug: running uri tests; score so far=1.3
debug: uri tests: Done uriRE
debug: running full-text regexp tests; score so far=1.3
debug: Current PATH is:
/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sb
in:/usr/local/bin
debug: DCC is not available: dccproc not found
debug: Razor2 is not available
debug: Pyzor is not available: pyzor not found
debug: all '*From' addrs: [EMAIL PROTECTED]
debug: all '*To' addrs:
debug: running meta tests; score so far=1.3
debug: is spam? score=1.3 required=5 tests=DATE_MISSING,NO_REAL_NAME
server started on port 783 (running version 2.50-cvs)
server pid: 26072
logmsg: server started on port 783 (running version 2.50-cvs)

Output of check_bayes_db:

0.000        0        0        0  non-token data: db format = on-the-fly
probs, expiry, scan-counting
0.000        0      766        0  non-token data: nspam
0.000        0     1814        0  non-token data: nham
0.000        0        0        0  non-token data: ntokens
0.000        0        0        0  non-token data: oldest age
0.000        0      126        0  non-token data: current scan-count
0.000        0        0        0  non-token data: last expiry scan-count
0.535       19       39        2  largest
0.803        1        0        1  CHICAGO
0.803        1        0        1  overeat
0.653        5        6        2  SAMSUNG
..lots of output

Tony


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to