⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bogoupgrade.1in

📁 一个C语言写的快速贝叶斯垃圾邮件过滤工具
💻 1IN
字号:
.\" ** You probably do not want to edit this file directly **.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1)..\" Instead of manually editing it, you probably should edit the DocBook XML.\" source for it and then use the DocBook XSL Stylesheets to regenerate it..TH "BOGOUPGRADE" "1" "12/25/2005" "" "".\" disable hyphenation.nh.\" disable justification (adjust text to left margin only).ad l.SH "NAME"bogoupgrade \- upgrades bogofilter database to current version.SH "SYNOPSIS".HP 12\fBbogoupgrade\fR [\-h] \-d\ \fIdirectory\fR [\-i\ \fIinput\ file\fR] [\-o\ \fIoutput\ file\fR] [\-b\ \fIpath\ to\ bogoutil\fR].SH "DESCRIPTION".PP\fBbogoupgrade\fRis a command to upgradebogofilter's databases from an old format to the current format. Since the format of the database changes once in a while, the utility is designed to make the upgrade easy..SH "OPTIONS".PPThe\fB\-h\fRoption prints the help message and exits..PPThe\fB\-d\fRspecifies 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..PPThe\fB\-i\fRspecifies 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..PPThe\fB\-o\fRspecifies the output Berkeley DB file..PPThe\fB\-b\fRgives the path to the\fBbogoutil\fRcommand. It defaults to 'bogoutil', in the hopes that your shell will find it..SH "UPGRADING".PPFollow these instructions to upgradebogofilter's databases to the latest version..TP 31.Stop all instances ofbogofilter. While the upgrade tools lock the database files, the upgrade may take a long time if you have a busy site. Don't forget to stop cron jobs or daemons that fetch and process mail and could fire offbogofilter..TP2.Backup your data. Let's assume that you said:.sp.nf$ \fBmv ~/.bogofilter ~/.bogofilter.safe\fR$ \fBmkdir ~/.bogofilter\fR.fi.TP3.If yourbogofilterversion is less than 0.7, say:.sp.nf$ \fBbogoupgrade \-i ~/.bogofilter.safe/goodlist \-o ~/.bogofilter/goodlist.db\fR$ \fBbogoupgrade \-i ~/.bogofilter.safe/badlist \-o ~/.bogofilter/spamlist.db\fR.fiIf yourbogofilterversion is 0.7 or greater, say:.sp.nf$ \fBbogoupgrade \-i ~/.bogofilter.safe/hamlist.count \-o ~/.bogofilter/goodlist.db\fR$ \fBbogoupgrade \-i ~/.bogofilter.safe/spamlist.count \-o ~/.bogofilter/spamlist.db\fR.fi.TP4.Current versions ofbogofilteruse a combined wordlist that holds both spam and non\-spam tokens. It is named wordlist.db. If you're updating from a version older than 0.14.0 that has separate wordlists (named goodlist.db and spamlist.db), use:.sp.nf$ \fBbogoupgrade \-d ~/.bogofilter.safe\fR.fi.TP5.Done. Restart any stopped daemons, cron tasks, etc..SH "AUTHOR".PP\fBbogoupgrade\fRwas written by Gyepi Sam<gyepi@praxis\-sw.com>and David Relson<relson@osagesoftware.com>..PPFor updates, see[1]\&\fIthe bogofilter project page\fR..SH "SEE ALSO ".PPbogofilter(1), bogolexer(1), bogotune(1), bogoutil(1).SH "REFERENCES".TP 31.\ the bogofilter project page\%http://bogofilter.sourceforge.net/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -