bogofilter 使用
bogofilter -B ../sample_mail/non_spam_test/* -n -o0.00,0.99 -k 64 -d ./wordlist
-B, 指明文件列表
-n, 表示為正常郵件
-ospam_cutoff[,hamcutoff]
-k, 指明BDB文件的大小
-d, 指明wordlist所在目錄
?
./wordlist下的BDB文件作為內容特征輸入; 訓練完畢后./wordlist下的文件同時會被更新
?
不需要指明-u參數, 上述語句本身就是增量式訓練;
?
?
bogofilter -B ../sample_mail/non_spam_test/* -Ns -o0.00,0.99 -k 64 -d ./wordlist
將已訓練過的、non_spam_test下的郵件, 作為垃圾郵件重新訓練。
-N, unregister non-spam
-s, register-spam
?
?
?
?
?
?
?
?
?
?
?
?
bogofilter中查看bdb文件:
bogoutil -d filename
?
?
bogofilter分類
bogofilter -B path -v
?
bogofilter推薦參數
n=·ls nonspam | gawk {s = sprintf(“ %s –n %s”, s, $NF);}END{print s}·
Bogotune –C –d wordlist $n $s
$s同上方式獲取, 但sprintf中指定為-s
總結
以上是生活随笔為你收集整理的bogofilter 使用的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: WINDOWS 下编译ace
- 下一篇: ifstream note