registering documents other than emails

David Relson relson at osagesoftware.com
Sat Dec 3 13:41:08 CET 2005


On Fri, 2 Dec 2005 21:19:42 -0800
Chris Fortune wrote:


> If there are several emails in one document, will it work the same way (tagging every header line), or will it tag just the first
> (or last) headers it finds?   Or will it treat the entire document as if it were one big email (tagging the first headers and
> treating the rest as body content)?

Hi Chris,

Bogofilter's parser can recognize multiple messages in one file when
the file is in mbox format.  This format is described in
http://www.qmail.org/man/man5/mbox.html

Bogolexer automatically checks for mbox format and do the right thing.

As bogofilter's normal mode is "score 1 email", it assumes that the
input is a single email.  The "-M" option puts in in mbox mode so it
will recognize multiple messages.  

During registration bogofilter automatically checks for mbox format.

See http://www.qmail.org/man/man5/mbox.html for more detail on the mbox
format.

Regards,

David




More information about the Bogofilter mailing list