bogoupgrade - upgrades bogofilter database to current version
bogoupgrade
The -h option prints the help message and exits.
The -d specifies the directory with the wordlists for converting. This option is used when converting from multiple, separate wordlists (spamlist.db and goodlist.db - containing spam and ham tokens, respectively) to a combined wordlist (wordlist.db) which contains both spam and ham tokens.
The -i specifies the input file to be converted. It should be a text file containing message counts, and possibly data. If there is no data in the text file, there should be a Berkeley DB file in the same directory as the text file which contains the data.
The -o specifies the output Berkeley DB file.
The -b gives the path to the bogoutil command. It defaults to 'bogoutil', in the hopes that your shell will find it.
Follow these instructions to upgrade bogofilter's databases to the latest version.
$ mv ~/.bogofilter ~/.bogofilter.safe $ mkdir ~/.bogofilter
$ bogoupgrade -i ~/.bogofilter.safe/goodlist -o ~/.bogofilter/goodlist.db $ bogoupgrade -i ~/.bogofilter.safe/badlist -o ~/.bogofilter/spamlist.dbIf your bogofilter version is 0.7 or greater, say:
$ bogoupgrade -i ~/.bogofilter.safe/hamlist.count -o ~/.bogofilter/goodlist.db $ bogoupgrade -i ~/.bogofilter.safe/spamlist.count -o ~/.bogofilter/spamlist.db
$ bogoupgrade -d ~/.bogofilter.safe
bogoupgrade was written by Gyepi Sam <gyepi@praxis-sw.com> and David Relson <relson@osagesoftware.com>.
For updates, see [1]the bogofilter project page.
bogofilter(1), bogolexer(1), bogotune(1), bogoutil(1)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |