Advice on tuning bogofilter please

Peter Bishop pgb at adelard.com
Fri Jun 13 19:35:54 CEST 2003


On 13 Jun 2003 at 11:02, Anthony Campbell wrote:

> I've just joined this list after trying out bogofilter for a couple of
> days; apologies for newbie question.
> 
> At present it classifies ALL my mail as spam. 
> 

The default settings should be OK
I suspect  you have not trained it properly 

Delete your bogofilter databases (goodlist.db and spamlist.db)
and start again.

Make sure that when you train bogofillter you use the 

-s switch for spam and
-n switch for good emails.

e.g. 

bogofilter -s <spam.eml  (single spam)
bogofilter -Ms <spammail.mbx (set of spam emails in Unix mailbox format)

or

bogofilter -n <good.eml  (single good email)
bogofilter -Mn <goodmail.mbx (set of good emails in mailbox format)

Now try it out:

bogofilter -v <spam.eml  

This should indicate it is spam

bogofilter -v <good.eml

Should say it is ham



-- 
Peter Bishop 
pgb at adelard.com
pgb at csr.city.ac.uk






More information about the Bogofilter mailing list