Bogofilter training on KMail mailboxes?
Derek Broughton
news at pointerstop.ca
Thu Jan 19 14:04:16 UTC 2006
Brian Astill wrote:
> On Mon, 16 Jan 2006 03:43 am, Rob Blomquist wrote:
>> according to what I have read on the bogofilter page, all I need to
>> do is run "bogofilter -s ~/.Mail/SpamPile/cur/, and the filtering
>> will be done.
>
> If you use the kmail wizard it produces a filter which "pipes through"
> bogofilter -p -e -u
>
> However, this doesn't seem to do anything useful. :-(
Sure it does. That filter "bogofilter check" _just_ sets X-bogosity (and
adds the data to the bogofilter database). The "Spam handling" filter acts
on the X-bogosity value.
> Additionally, the X-bogosity thingo keeps being placed as the FIRST
> filter and it then identifies everything as spam and puts it in the
> wastebin! :-(
Beats me why it would be in front, but it can't identify anything as spam
unless it comes after the X-bogosity header is added - which is done in the
"bogofilter check" filter.
>
> I _think_ there is an issue with bogofilter and maildir folders.
There isn't.
> I know that training can only be effected with mbox folders (I created
> spam.mbox and ham.mbox in order to do the training the bogofilter
> docs mentioned).
Wrong. -B trains on maildirs
--
derek
More information about the ubuntu-users
mailing list