Re: merge 2 bogofilter databases

"N.J. Mann" <[email protected]> Sun, 01 Oct 2017 11:39:08 +0100
Newsgroups gmane.mail.bogofilter.general
Message-ID <[email protected]>
Hi


On Sunday, October 01, 2017 12:58:07 +0300 Christos Chatzaras <[email protected]> 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.
-- 

_______________________________________________
bogofilter mailing list
[email protected]
https://www.bogofilter.org/mailman/listinfo/bogofilter