Mail box to bogo

Chris Wilkes cwilkes-bf at ladro.com
Mon Dec 30 22:39:19 CET 2002


On Mon, Dec 30, 2002 at 03:23:42PM -0600, Karl Schmidt wrote:
> 
> Can bogofilter recognize the Unix mailbox format so one could take a
> mail box full of spam and feed it in?
> 
> If not, perhaps someone has written a script to do this?

Are you using folders in your mailbox file?  Like the other poster said
you could just feed in your entire mailbox file into bogofilter and it
will do it.

If, however, you have some sort of filter on your mailbox then you're
probably better off splitting the messages out singly.  You can do that
with some of the tools listed at
	http://www.qmail.org/top.html#maildir
which convert mailbox -> maildir in which each message is its own file.

Chris




More information about the Bogofilter mailing list