Thanks guys, I ran with -D and got this line: debug: bayes: DB_File module not installed, cannot use Bayes
Problem solved! Mark On Tue, Oct 28, 2003 at 08:23:20AM -0500, Chris wrote: > I had the same problem for a while. > > > No matter what I do, I get something like: > > > > ~/Mail >sa-learn --spam --mbox spam > > Learned from 0 message(s) (1927 message(s) examined). > > ~/Mail >sa-learn --ham --mbox /var/spool/mail/mark > > Learned from 0 message(s) (111 message(s) examined). > > > > It always "learns from 0 messages", whatever that means, and my spam > > filtering doesn't change (I'm at about 70% filtering). Am I doing > > something wrong? What is suppose to happen? > > Try these couple of things. > > a) run it with the debug flag -d > > sa-learn -D --spam --mbox spam > > b) try fully qualifying the paths in case you aren't in the right place > > sa-learn -D --spam --mbox /home/user/spam > > c) when you've run it in debug make sure that you don't see errors about the > ability to right the files. There could be two problems here. > - you might need to install perl-DB_file module so it knows how to write > the files. Make sure you have that module installed. > - permissions! check your permissions under the user directory, i.e. > /home/user/.spamassassin and make sure the ownership of the directory and > all files within it are to the user in question and are writable to that > user. > > d) as Brian said, it won't relearn messages you've learnt already. > > Try those things.. but above all, remember the -D option is your friend! > > Chris > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > Spamassassin-talk mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk -- Mark Beckwith, Intrig (http://www.intrig.com) ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk