• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

merge 2 bogofilter databases

CyberCr33p

Member

Thanks: 5
Messages: 89

#1
Is it possible to merge 2 bogofilter databases in 1 database?

For example does this work?

Code:
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
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 5,508
Messages: 25,692

#2
According to the bogoutil(1) man page, yes.

Code:
The -l file option tells	bogoutil to load the data from stdin into the
       database	file. [b]If the database file exists, stdin data is merged	into
       the database file[/b], with counts added up.