Forums: users (Thread #20546)

マルチパート+文字参照を使ったスパムの自動振り分けが効かない (2008-11-15 16:54 by masao #39908)

たかくと申します。
5年ほどbsfilterを便利に使わせていただいております。

さて、bsfilter -a にて、procmail で自動振り分けを行っているのですが、以前のスレッドで話題になった、数値文字参照+マルチーパートを使ったスパムメールが振り分けされません。
https://sourceforge.jp/forum/forum.php?thread_id=17369&forum_id=4204

すり抜けてしまったメールを再度 bsfilter にかけてみても、
combined probability /home/masao/Mail/inbox/15867 1 1.000000
のように、スパム確率は 1.000000 と出るので、言語判定か自動振り分けの際の処理にバグがあるのではないかと思うのですが、他にそのような現象が出ている方など、いらっしゃいませんか?

bsfilter はCVS最新版を使っています。
bsfilter.confの内容は以下の2つだけです:
max-mail 0
refer-all-header

どうぞよろしくお願いいたします。

Reply to #39908×

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: マルチパート+文字参照を使ったスパムの自動振り分けが効かない (2008-11-16 16:38 by nabeken #39937)

procmailで振り分けする際、bsfilterのexit codeを見るか、挿入したヘッダを見るか、どんな基準でしょうか?

ヘッダと本文の境界を見つけるのに失敗するケースがあります。-v, --show-processオプションあたりで、判定自体に失敗しているのか、結果をprocmailに渡すのに失敗しているのか、見てもらえないでしょうか。

bsfilterが出力するメッセージは原則stdoutに出ます。--pipeでメール自体をstdoutに出しているときは、stderrを使うはずです。
Reply to #39908

Reply to #39937×

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: マルチパート+文字参照を使ったスパムの自動振り分けが効かない (2008-11-16 16:47 by masao #39938)

早速ありがとうございます。手元でのprocmailの振り分けは exit code を使ったものをつかっています。

.procmailrc の該当箇所は以下のようなものです:

:0 HB:
* ? /usr/local/bin/bsfilter -a
junk.auto/.

-v, --show-processオプションの結果はまた試してみてから、ご報告します。
Reply to #39908

Reply to #39938×

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

--show-processの結果 (Re:マルチパート+文字参照を使ったスパムの...) (2008-11-18 10:49 by masao #40000)

たかくです。
またスパムがやってきたので、bsfilter --show-process を試してみました:

combined probability /home/masao/Mail/inbox/15951 1 1.000000
combined probability /home/masao/Mail/inbox/15952 1 1.000000
combined probability /home/masao/Mail/inbox/15955 1 1.000000
combined probability /home/masao/Mail/inbox/15956 1 1.000000
combined probability /home/masao/Mail/inbox/15957 1 1.000000
combined probability /home/masao/Mail/inbox/15958 1 1.000000
file ja spam - 20081118104251 <01c948ac$c7c63400$75257761@anz1> /home/masao/Mail/inbox/15951
file ja spam - 20081118104251 <01c948ce$bd1c9680$b6a48ac8@beretta96f> /home/masao/Mail/inbox/15952
file ja spam - 20081118104251 <01c948f6$a370c080$65447854@tjeanesdd> /home/masao/Mail/inbox/15955
file ja spam - 20081118104251 <01c9490b$e3acf280$ab9f625b@scorpion398> /home/masao/Mail/inbox/15956
file ja spam - 20081118104251 <01c948ff$55327400$0ca7d551@tjmlro> /home/masao/Mail/inbox/15957
file ja spam - 20081118104251 <01c948f7$2adcb880$47c30553@tj75143n> /home/masao/Mail/inbox/15958

うーん、spam として認識しているようですね。
procmail の側の問題でしょうかね。。。
Reply to #39908

Reply to #40000×

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