Hi,
>
> 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
> }
>
This is what I have and it is working
FILTER=sb_filter.py
SMS=/usr/local/bin/rogsms
DB = $HOME/Tmp/spambayes.statistic.db
:0 fw:hamlock
| $FILTER -d $DB
I don't know if the ":" at the end of the fw makes a difference.
> 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)
>
Remi
_______________________________________________
[email protected]
http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html