Forums: users (Thread #6812)

判定が常に1になってしまう (2005-01-22 16:34 by Anonymous #12589)

題名のとおり常に判定が1になってしまいます。

bsfilter release - revision 1.67

combined probability spam/cur/1105526896.7354.dcml01:2, 1 1.000000
combined probability spam/tmp/1106270263.31937.dcml01 1 0.500000
combined probability spam/tmp/1106273654.1749.dcml01:2, 1 0.000000

db C 267 0 28876 1820 29048
db ja 556 86 4236 21 4583

オプションもbsfilter.confもなしの状態です。

どなたかご教授ください。

Reply to #12589×

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: 判定が常に1になってしまう (2005-01-22 16:54 by nabeken #12590)

例えば2行目の最後
1 0.500000
は、そのファイルの1通目のメールの確率が0.5
というのを示しています。
1ファイル==1メールの場合は、右から2カラム目は常に1となります。

# db C 267 0 28876 1820 29048
# というのは、cleanな0通のメールに267単語あった
# という意味だったはずで、ちょっとバグっているのかもしれません

Reply to #12589

Reply to #12590×

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: 判定が常に1になってしまう (2005-01-25 11:05 by Anonymous #12633)

ご回答ありがとうございました。

.bsfilterを一度削除して、再作成した結果

~/bsfilter --show-db-status
db C 539 6 29928 1992 30118
db ja 1967 84 4450 166 5772

となりました。
これで、しばらく様子を見ます。
Reply to #12589

Reply to #12633×

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: 判定が常に1になってしまう (2005-01-26 11:04 by Anonymous #12647)

その後、スパム判定が行われているようです。

#spamメール
./bsfilter Maildir/cur/1106702411.8568.dcml01\:2,
combined probability Maildir/cur/1106702411.8568.dcml01:2, 1 1.000000

#spamメール
./bsfilter Maildir/cur/1106702591.8949.dcml01\:2,
combined probability Maildir/cur/1106702591.8949.dcml01:2, 1 1.000000

#日本語クリーンメール
./bsfilter Maildir/cur/1106702810.10262.dcml01\:2,
combined probability Maildir/cur/1106702810.10262.dcml01:2, 1 0.769079

#LogWatch が出す、英語クリーンメール
./bsfilter Maildir/cur/1106702954.11053.dcml01\:2,
combined probability Maildir/cur/1106702954.11053.dcml01:2, 1 0.500000

ところが、メールを振り分けてくれないので、調べてみると
./bsfilter < Maildir/cur/1106702810.10262.dcml01\:2,; echo $status

としても数値が帰ってこず、ただ改行しているだけの状態になっていました。

度々申し訳ないですが、ご教授お願いします。
Reply to #12633

Reply to #12647×

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: 判定が常に1になってしまう (2005-01-27 00:33 by nabeken #12651)

改行だけ、という現象は、標準入力からメールを渡すと常に発生するのでしょうか。それとも、メールによるのでしょうか。

ファイルネームにbackslashが入っているのが気になります。特殊な文字が使われているのでしょうか。普通のファイルネームに変更しても、状況は変わらないでしょうか。

bsfilter内部で問題がおきているのであれば、-v -dオプションをつけて実行し、正常な場合と異常な場合の差を観察してください。
Reply to #12647

Reply to #12651×

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: 判定が常に1になってしまう (2005-01-27 10:34 by Anonymous #12652)

済みません、全く違う問題で振り分けできていませんでした。

ルート「/」の空き容量不足で、おかしな動きをしていたようです。

その後、メール送信が出来なくなり、管理者に問い合わせたところ「/」の空き容量がゼロになっていたと(・・;

空き容量を増やしたところ、正常に振り分けられるようになりました。

ちなみに「qmail+bsfilter」環境です。

いろいろありがとうございました。
Reply to #12651

Reply to #12652×

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