Data base "maintenance" (removing tokens) and MSG_COUNT?

Seth de l'Isle szoth at ubertechnique.com
Tue Jul 15 17:51:42 CEST 2003


MSG_COUNT is also decremented when messages are removed
via bogoutil's maintenance facilities, for example:

    szoth at bierkase:~$ echo perhaps more importantly | bogofilter -s -d /tmp
    szoth at bierkase:~$ bogoutil -w /tmp .MSG_COUNT
			   spam   good
    .MSG_COUNT                1      0
    szoth at bierkase:~$ bogoutil -c 1 -m /tmp/spamlist.db
    szoth at bierkase:~$ bogoutil -w /tmp .MSG_COUNT
			   spam   good
    .MSG_COUNT                0      0

On Tue, Jul 15, 2003 at 11:17:15AM -0400, David Relson wrote:
> Matthias,
> 
> .MSG_COUNT is decremented when messages are removed via -N and -S.
> 
> Try the following:
> 
> rm -f /tmp/????list.db
> echo this is a test | bogofilter -s -d /tmp
> bogoutil -w /tmp .MSG_COUNT
> echo this is a test | bogofilter -S -d /tmp
> bogoutil -w /tmp .MSG_COUNT
> 
> 
> David
> 

-- 
pgp public key http://ubertechnique.com/seth/pgp_key.txt ID: 0x60F9B67A




More information about the Bogofilter mailing list