The Berkeley DB environment is platform-specific. I don't think you can do antyhing about that, short of performing a checkpoint and removing the environment each time bogofilter terminates, but that would really slow things down.