about bogofilter in DIR mode

Matthias Andree matthias.andree at gmx.de
Fri Oct 28 10:30:14 CEST 2005


Zhenyu Zhong <andrezh at gmail.com> writes:

> I am trying to test the spamicity of the messages stored under a directory.
> But I found that I must create two subdirectory one is cur, the other is new
> under the maildir otherwise bogofilter won't recognize.
> May I ask why are those subdirectories necessary?
> Do they have meannings? Do they affect the spamicity of the message?

They are the building blocks of the "Maildir" format. You can
alternatively store in "MH" format, where file names are all numbers in
a flat directory.

Finally, you can use bogofilter in "-b" or "-B" mode, the first reads
filenames from standard input (find DIR -type f -print | bogofilter -b
...), the second from the command line (bogofilter -B FILE1 FILE2
FILE3).

One of these should solve your problem.

-- 
Matthias Andree



More information about the Bogofilter mailing list