>From past experience, I would suggest you checked the dependencies on
the 3 files that are created by sa-learn. It sounds like it was able to
update bayes_toks but not one of the other files. (Can't remember which)

First off, run sa-learn --rebuild. I seem to recall this was needed
after running sa-learn (may be wrong)

What do you see when you type 'sa-learn --dump magic' execute this
command after each learning stage to see the effect your learning has
had. If you see no chance, run the rebuild command, then do it again and
see if there is a change.

If it doesn't work, post your results?

R

> -----Original Message-----
> From: Raphael Clifford [mailto:[EMAIL PROTECTED] 
> Sent: 14 April 2005 09:52
> To: [email protected]
> Subject: sa-learn doesn't learn
> 
> Hi,
> 
> I am trying to set up Bayes classifying for the first time 
> using sa-learn.  It looks like it is working but doesn't 
> actually seem to be... Here is the output
> 
> 
> [raph]$ sa-learn --showdots --mbox --spam 
> .thunderbird/gmnjx6hf.default/Mail/mail.plus.net/Junk
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ................................. 
> 
> Learned from 870 message(s) (1025 message(s) examined).
> [raph]$ sa-learn --showdots --mbox --ham 
> .thunderbird/gmnjx6hf.default/Mail/mail.plus.net/Inbox
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> .................................... 
> 
> Learned from 2390 message(s) (2578 message(s) examined).
> 
> 
> Now when I do spamassassin -D --lint I get
> 
> [...]
> debug: bayes: 5790 tie-ing to DB file R/O 
> /home/raph/.spamassassin/bayes_toks
> debug: bayes: 5790 tie-ing to DB file R/O 
> /home/raph/.spamassassin/bayes_seen
> debug: bayes: found bayes db version 3
> debug: using "/home/raph/.spamassassin" for user state dir
> debug: bayes: Not available for scanning, only 1 spam(s) in 
> Bayes DB < 200
> debug: bayes: 5790 untie-ing
> debug: bayes: 5790 untie-ing db_toks
> debug: bayes: 5790 untie-ing db_seen
> debug: Score set 1 chosen.
> debug: ---- MIME PARSER START ----
> debug: main message type: text/plain
> debug: parsing normal part
> debug: added part, type: text/plain
> debug: ---- MIME PARSER END ----
> debug: bayes: 5790 tie-ing to DB file R/O 
> /home/raph/.spamassassin/bayes_toks
> debug: bayes: 5790 tie-ing to DB file R/O 
> /home/raph/.spamassassin/bayes_seen
> debug: bayes: found bayes db version 3
> debug: bayes: Not available for scanning, only 1 spam(s) in 
> Bayes DB < 200
> debug: bayes: 5790 untie-ing
> debug: bayes: 5790 untie-ing db_toks
> debug: bayes: 5790 untie-ing db_seen
> [...]
> 
> This seems to imply that it didn't work right?
> 
> When I run spamc on my mail it doesn't use Bayes as far as I 
> can see in the headers.
> 
> Any help is very much appreciated. What am I doing wrong?
> 
> Raphael
> 
> P.S.  spamassassin 3.0.2, heavily updated redhat 9 system.  
> spamc is called from procmail with no arguments.
> 
> 
> 


---------------------------------------------------
This email from dns has been validated by dnsMSS Managed Email Security and is 
free from all known viruses.

For further information contact [EMAIL PROTECTED]




Reply via email to