bogotune patch for -D option.

Jason A. Smith jason at jazbo.dyndns.org
Mon Mar 27 01:06:15 CEST 2006


I have bogofilter 1.0.2 installed and recently tried running bogotune
with the -D option, but it failed with the following message after
reading the input folders:

Unable to stat (null)

because it was trying to calculate the recommended db cache size by
opening the word database, but the -D option is supposed to tell
bogotune to not open the real wordlist but build its own in memory, so
the path is not set before it tries to open it.  I have attached a patch
which fixes this.

Also, with bogotune's -n & -s options, you used to be able to list
multiple mail files/folders after each, but now only one is allowed
(others are silently ignored) and multiple options are required.  Was
this done intentionally?  The bogotune man page also indicates that the
old behavior is allowed, so either the docs should be changed or the old
behavior be brought back.

Thanks,
~Jason

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bogofilter-1.0.2-bogotune-cachesize.patch
Type: text/x-patch
Size: 552 bytes
Desc: 
URL: <http://www.bogofilter.org/pipermail/bogofilter/attachments/20060326/bdc006fb/attachment.bin>


More information about the Bogofilter mailing list