[Spambayes] problem using spamBayes

Asaf cs galilia at cs.bgu.ac.il
Sun Jul 3 22:17:17 CEST 2005


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/spambayes/attachments/20050703/bbd16cb9/attachment.htm


More information about the Spambayes mailing list