Bogofilter does not verbose output anymore

David Relson relson at osagesoftware.com
Thu Nov 13 00:46:17 CET 2003


On Thu, 13 Nov 2003 00:35:14 +0100
Johannes Klug <derjoi at gmx.net> wrote:

> I'm sorry, I accidentially hit ctrl+enter, which sends the message in
> kmail.
> 
> > Are you registering or classifying?  You report seeing a word count,
> > which sounds like you're using -n or -s to classify messages.  The
> > verbose flags are most relevant to classifying.
> Yes, I'm using -s, to register the spam-mails.
> 
> > The flag combinations you're reporting are working fine for me --
> > and don't say "how many words ..."
> What shall I say instead?
> 
> > If not, please post more info on what you're doing.
> This is my removespam.sh script:
> 
> ==============================
> #!/bin/sh
> BOGOFILTER="/usr/bin/bogofilter";
> SPAMDIR="/home/joy/Mail/Spam/cur";
> SPAMARCH="/home/joy/Mail/Spam-Archiv/cur";
> 
> cd $SPAMDIR
> for i in *
> do $BOGOFILTER -s -I $i -F -v
> mv $i $SPAMARCH
> done
> ==============================
> 
> In an older version of bogofilter, the output gave me the total of
> registered spam / non-spam messages ... this is what I am missing now.
> 
> Johannes

Johannes,

"-F" is used to force "-vv" (histogram) output when scoring messages.  I
don't recall "-F", "-vv", or "-vvv" having an effect when using "-s".

Your script looks fine, though "-F" is only relevant to scoring. 
Actually, there should be a test to say "-F can't be used with -s or
-n".





More information about the Bogofilter mailing list