merge 2 bogofilter databases
N.J. Mann
njm at njm.me.uk
Sun Oct 1 12:39:08 CEST 2017
Hi
On Sunday, October 01, 2017 12:58:07 +0300 Christos Chatzaras <chris at cretaforce.gr> wrote:
> Is it possible to merge 2 bogofilter databases in 1 database?
>
> For example does this work?
>
> bogoutil -d wordlist.db > wordlist.server1
> bogoutil -d wordlist.db > wordlist.server2
>
> cat wordlist.db.server1 | bogoutil -l wordlist.db.new
> cat wordlist.db.server2 | bogoutil -l wordlist.db.new
I am not a bogofilter expert, but to me the obvious flaw the above is the two
"cat" lines. I would have used a single "cat" line:
cat wordlist.db.server1 wordlist.db.server2 | bogoutil -l wordlist.db.new
Best wishes,
Nick.
--
More information about the bogofilter
mailing list