Hi

I ran the following command to test my SA setup:
[EMAIL PROTECTED]:~> spamassassin -t -D rulesrun=255 < spam.txt >& spam.log4

And the output contains the following:
debug: using "/usr/share/spamassassin" for default rules dir
debug: using "/etc/mail/spamassassin" for site rules dir
debug: using "/home/m8ram/.spamassassin" for user state dir
debug: using "/home/m8ram/.spamassassin/user_prefs" for user prefs file
debug: Failed to parse line in SpamAssassin configuration, skipping: 
report_header 1
debug: Failed to parse line in SpamAssassin configuration, skipping: 
defang_mime 0
debug: Failed to parse line in SpamAssassin configuration, skipping: 
RCVD_IN_BL_SPAMCOP_NET    3.00

The first two options (report header and defang_mime) are set in
/etc/mail/spamassassin/local.cf which was installed when I installed SA
and haven't been touched since.

The third option is set in ~/.spamassassin/user_prefs:
RCVD_IN_BL_SPAMCOP_NET    3.00

Can anybody tell me what is wrong with these options?

If it matters: I started spamd with 'spamd -d -c -a'.

I also noticed:
debug: bayes: 18288 tie-ing to DB file R/O /home/m8ram/.spamassassin/bayes_toks
debug: bayes: 18288 tie-ing to DB file R/O /home/m8ram/.spamassassin/bayes_seen
debug: bayes: found bayes db version 0
debug: bayes: Not available for scanning, only 0 spam(s) in Bayes DB < 200
debug: bayes: 18288 untie-ing
debug: bayes: 18288 untie-ing db_toks
debug: bayes: 18288 untie-ing db_seen
debug: Score set 1 chosen.
debug: Initialising learner
debug: using "/home/m8ram/.spamassassin" for user state dir
debug: bayes: 18288 tie-ing to DB file R/O /home/m8ram/.spamassassin/bayes_toks
debug: bayes: 18288 tie-ing to DB file R/O /home/m8ram/.spamassassin/bayes_seen
debug: bayes: found bayes db version 0
debug: bayes: Not available for scanning, only 0 spam(s) in Bayes DB < 200
debug: bayes: 18288 untie-ing
debug: bayes: 18288 untie-ing db_toks
debug: bayes: 18288 untie-ing db_seen

So bayes isn't being used?  I piped all my mail through sa-learn last
night using the commands I posted earlier.  According to the output SA
learned from +8000 messages (both ham and spam).  What could be wrong
here?

TIA

Bram
-- 
# Mertens Bram "M8ram"   <[EMAIL PROTECTED]>     Linux User #249103 #
# SuSE Linux 8.2 (i586) kernel 2.4.20-4GB      i686                256MB RAM #
#  10:46am  up 30 days 14:24,  9 users,  load average: 0.00, 0.03, 0.05 #

Reply via email to