mailbox classificataion
Fred Yankowski
fred at ontosys.com
Thu Jan 30 19:08:37 CET 2003
On Wed, Jan 29, 2003 at 11:19:09PM -0500, Gyepi SAM wrote:
> you'd now say
>
> formail -s bogofilter -s < spam.mbx
Won't that start bogofilter from scratch for every comprised message,
causing it to repeatedly incur the overhead of loading and saving the
database, rather than amortizing that cost over all the messages?
$ rm *.db
$ time bogofilter -d . -v -s < ~/Maildir/archive/spambox
# 1242738 words, 3363 messages
real 0m14.139s
user 0m8.100s
sys 0m2.800s
$ rm *.db
$ time formail -s bogofilter -d . -s < ~/Maildir/archive/spambox
real 8m25.487s
user 0m40.080s
sys 6m41.130s
--
Fred Yankowski fred at ontosys.com tel: +1.630.879.1312
OntoSys, Inc PGP keyID: 7B449345 fax: +1.630.879.1370
www.ontosys.com 38W242 Deerpath Rd, Batavia, IL 60510-9461, USA
More information about the Bogofilter
mailing list