Another maintenance problem.

Tom Allison tallison at tacocat.net
Fri Feb 18 11:14:13 CET 2005


I haven't done any of these maintenance steps since sometime in 2004 
because of changes to how I use the database: train on errors only

Unfortunately it seems there's some new errors I've encountered that 
until now have not been seen.


For starters:
tallison at cling:~$ bogofilter -Q
# bogofilter version 0.93.5

robx        = 0.570000  # (5.70e-01)
robs        = 0.010000  # (1.00e-02)
min_dev     = 0.366000  # (3.66e-01)
ham_cutoff  = 0.200000  # (2.00e-01)
spam_cutoff = 0.569397  # (5.69e-01)
ns_esf      = 0.003662  # (3.66e-03)
sp_esf      = 0.004882  # (4.88e-03)

block_on_subnets  = Yes
charset_default   = us-ascii
replace_nonascii_characters = No
stats_in_header   = Yes
thresh_update     = 0.010000
timestamp         = Yes

spam_header_name  = X-Bogosity
spam_subject_tag  = ''
unsure_subject_tag = ''
header_format     = %h: %c, tests=bogofilter, spamicity=%p, version=%v
terse_format      = %1.1c %f
log_header_format = %h: %c, spamicity=%p, version=%v
log_update_format = register-%r, %w words, %m messages
spamicity_tags    = Spam, Ham, Unsure
spamicity_formats = %0.6f, %0.6f, %0.6f


I move all my maildir archives into mbox formats for simplicity and tune 
from there.

bogotune (version 0.93.5) is part of the bogofilter package.
tallison at cling:~$ bogotune -E -n ham_box -s spam_box
Calculating initial x value...
Error: /home/tallison/.bogofilter/wordlist.db is not a directory.
bogotune: cannot find bogofilter directory.
You must specify a directory on the command line, in the config file,
or by using the BOGOFILTER_DIR or HOME environment variables.
Program aborting.
Initial x value is 0.562931
False-positive target is 1 (cutoff 0.539138)
Warning:  Using ESF values (sp=0.004882, ns=0.003662) from config file.
Performing coarse scan:
   5 [........ 
     ]
tallison at cling:~$ echo $BOGOFILTER_DIR

tallison at cling:~$ echo $HOME
/home/tallison
tallison at cling:~$

Am I correct in assuming that the use of $HOME defaults is no longer 
valid?  My wordlist (only one) is $HOME/.bogofilter/wordlist.db.



More information about the Bogofilter mailing list