hello,
I am using spamBayes in .procmailrc.
The .procmailrc is:
:0fw
| /usr/bin/sb_filter.py -f -d $HOME/.spambayes/.hammie.db
:0 H
* ^X-Spambayes-Classification: ham
{
:0c
| /usr/bin/sb_filter.py -g
SOMTHING
}
:0 H
* ^X-Spambayes-Classification: spam
{
:0c
| /usr/bin/sb_filter.py -s
SOMTHING
}
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 get a correct answer (different values and not only 0.00)
Does anyone know what can it be?
thank you,
Asaf
_______________________________________________
[email protected]
http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html