> I am using spamBayes in .procmailrc. > The .procmailrc is: > > :0fw > | /usr/bin/sb_filter.py -f -d $HOME/.spambayes/.hammie.db [...] > | /usr/bin/sb_filter.py -g [...] > | /usr/bin/sb_filter.py -s [...] > The problem is that I always get the follow answer: > > X-Spambayes-Classification: ham; 0.00 > > But when I use the follow command in the command line: > > /usr/bin/sb_filter.py -f -d $HOME/.spambayes/.hammie.db < MESSAGE
I don't know pretty much anything about procmail, so if the problem is there I won't be able to help. (You might want to try reposting this if you don't get an answer and mentioning procmail in the subject - that will help draw the attention of those that know it who might miss the question among the Outlook Express user problems :) Perhaps it's not always referring to the same database? Is $HOME the same value in the procmail script as when run from the command line (e.g. it's the same user?). Maybe you need to be specifying the database in the two train commands? =Tony.Meyer -- Please always include the list (spambayes at python.org) in your replies (reply-all), and please don't send me personal mail about SpamBayes. http://www.massey.ac.nz/~tameyer/writing/reply_all.html explains this. _______________________________________________ [email protected] http://mail.python.org/mailman/listinfo/spambayes Check the FAQ before asking: http://spambayes.sf.net/faq.html
