.count files

Eric Seppanen eds at reric.net
Mon Sep 16 20:54:31 CEST 2002


On Mon, Sep 16, 2002 at 02:34:23PM -0400, Gyepi SAM wrote:
> On Mon, Sep 16, 2002 at 12:54:20PM -0500, Eric Seppanen wrote:
> > Couldn't we eliminate a lot of code by ditching the .count files and just 
> > record the message count as a value in the db file?  It should be 
> > easy to create a magic key that can't collide with any words (by using 
> > uppercase letters or nonprintable characters).
> 
> I am planning to do just that, but not quite the same way.
> A db file can actually hold multiple named databases, so I was planning 
> to use a single db file for all the
> lists and their counts.

I'm not sure it would be a good idea to try to unify all the databases 
into one file, because that would make it harder on:
- users wanting to pull in one or more system-wide database in another 
file
- users pulling down a giant spam-db from the net and using that in 
addition to their own files.



More information about the bogofilter-dev mailing list