Train from many IMAP/Maildir folders
ben at benfinney.id.au
Wed Feb 16 17:32:22 EST 2005
Since the "re-train from scratch" meme seems to be common for bogofilter
:-( I may as well ask about something many users want to know.
I systematically save all my email: spam goes into several spam folders,
ham goes into hundreds of folders organised by various criteria. These
are Maildir folders, accessed over IMAP.
I know that training from an mbox is easy; pipe the whole thing to an
appropriate 'bogofilter' command. How does one train from folders such
as IMAP or Maildir?
The last time I did this, I went through hurdles to generate mbox files
from my folders, using my MUA manually; it took many hours of manual
babysittng. I'd much rather feed the folders to bogofilter more
The ideal solution would be one I can type in quickly and walk away:
$ (some_command spam-folder-foo/ spam-folder-bar/) | bogofilter -s
$ (some_command ham-folder-baz/ ham-folder-moo/) | bogofilter -n
\ "Room service? Send up a larger room." -- Groucho Marx |
Ben Finney <ben at benfinney.id.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: Digital signature
Url : http://www.bogofilter.org/pipermail/bogofilter/attachments/20050217/db240e02/attachment.bin
More information about the Bogofilter