merge 2 bogofilter databases
RW
rwmaillists at googlemail.com
Sun Oct 1 18:52:00 CEST 2017
On Sun, 01 Oct 2017 11:39:08 +0100
N.J. Mann wrote:
> 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:
I'd say it's prudent rather than a flaw. You should never cat multiple
file to a utility unless you are sure it's fully supported.
More information about the bogofilter
mailing list