[Spambayes] Comparable bogoutil functionality?

Andrew A. Raines aaraines at pobox.com
Mon Sep 22 18:16:03 EDT 2003


What's a spambayes-y or Python-y way to implement bogoutil for
my hammiedb?  It's a convenient way of checking to see what
bogofilter thinks about a token.  For instance:

   $ bogoutil -w ~/.bogofilter penis
                          spam   good
   penis                  3393      0
   $ bogoutil -w ~/.bogofilter viagra
                          spam   good
   viagra                   64      0
   $ bogoutil -w ~/.bogofilter raines
                          spam   good
   raines                    0    171

See also <URL:http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/bogofilter/bogofilter/doc/bogofilter-faq.html#query-database>.

Is this only possible by enabling debug output, piping a
message through hammiefilter, and examining the resultant
header?

-Drew




More information about the Spambayes mailing list