Forums: users (Thread #17457)

Probabilityが常に0になる (2008-01-20 20:48 by Anonymous #34624)

初めまして。
MacOS 10.3.9上でbsfilter使っているものです。
fetchmailでとりこみ~procmailで仕分け~bsfilterを噛ませてスパムの仕分けと設定していたのですが、取り込みの高速化を狙って
http://www2b.biglobe.ne.jp/~caco/cf-t1.html
を読んでデータベースをRAMディスクのうえに動かしてみようと操作した辺りからbsfilterの挙動がおかしくなりました。
データベースを作ってメールのspam probabilityを表示させてみると0.000に(どんなメールを評価させても)なってしまっています。データベースが壊れているのかと思い作り直したり、RAMディスクの上に置くことを止めたりと試しているのですが変化なしです。

特にエラーメッセージは出ず、bsfilterとしては正常に動いているつもりなのではないかと思っています。bsfilter.confにはinsert probabilityを設定しているのみです。
どういった対策が考えられるか、ご教示頂ければと思います。

Reply to #34624×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: Probabilityが常に0になる (2008-01-21 00:27 by nabeken #34626)

% bsfilter --export-probability
でデータベース内のtokenごとの確率を表示してみてください。
データベース自体の問題か、メールの扱いの問題か、切り分けたいと思います。
Reply to #34624

Reply to #34626×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: Probabilityが常に0になる (2008-01-21 00:59 by Anonymous #34628)

>% bsfilter --export-probability
>でデータベース内のtokenごとの確率を表示してみてください。

実行してみても何のメッセージも出ず、でした。
そもそもデータベースに何もtokenが入っていない状態でしょうか?
Reply to #34626

Reply to #34628×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: Probabilityが常に0になる (2008-01-28 00:11 by nabeken #34739)

% bsfilter --export-clean
% bsfilter --export-spam
でtokenが入っているか確認して下さい。
Reply to #34628

Reply to #34739×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: Probabilityが常に0になる (2008-01-23 11:49 by zxcv3794 #34687)

水口と申します。 開発者では無いので、はずしていたらすみません。

データベースの在処が、bsfilterプロセスに正しく伝わっているのは確認済でしょうか?

例えば、RAMディスク化に伴なってデータベースの絶対パスがデフォルト以外の位置に異動したなら、BSFILTERHOME環境変数とか --homedir オプションとかでそのパスを指定しないと、希望通り動かないと思います。

指定を誤って実在しないディレクトリを指したり、環境変数名称にスペルミスがあっても「希望通り動かない」という意味では同様だと思います。
Reply to #34624

Reply to #34687×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login