bogofilter 整理 database 的方法

2006/10/11
By

以前我只知道用:

cd ~/.bogofilter
    bogoutil -d wordlist.db | bogoutil -l wordlist.db.new
    mv wordlist.db wordlist.db.prv
    mv wordlist.db.new wordlist.db

不過久沒看 FAQ,一看赫然發現原來有 bf_compact 可以用,真是蠢到不行。

bf_compact ~/.bogofilter wordlist.db

Update: 靠,這東西只能用在 BDB 存的 .db,還是回笨方法好了。

One Response to bogofilter 整理 database 的方法

  1. -TMA-1- » links for 2006-10-12 on 2006/10/12 at 8:22 上午

    [...] Hi! I’m clsung » Blog Archive » bogofilter 整理 database 的方法 (tags: Tech Tips Bogofilter) [...]

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*


*