今日もあいにくの雨で、最近めっきり自転車通勤が減っている naoya です。 今日は、前回の続き「 ベンチャー流のスパムメール対策術」と題した後編のエントリです。前編では、オープンソースで提供されているスパムフィルターの設定方法を紹介しました。 前編の設定を行った後、約2週間ほど僕宛に届く全てのメールでスパムの学習をさせるため、受信したメールをスパムフィルターに通して、スパムメールは spam ディレクトリに、スパムではないメールは Inbox のディレクトリに残しておきました。 この手作業の後、さっそくスパムフィルターの選定をするため、それぞれのスパムフィルターがどの程度効果があるのか測定することにしました。 測定する方法は、僕宛のメールに対して3種類のスパムフィルターをかけて、それぞれのスパムフィルターでスパムと判定されたメールを、どのスパムフィルターにかかったのか分かるようにそれぞれ
SpamAssassinは設定やスパムメールを学習したときの情報をデータベースで保持することができる。 小規模サイトではあまり意味が無いかもしれないけど、連携可能なデータベースにMySQLの記載があったので導入してみる。 http://svn.apache.org/repos/asf/spamassassin/tags/spamassassin_current_release_3.1.x/sql/README http://wiki.apache.org/spamassassin/UsingSQL MySQLと連携するためにはPerlからMySQLを扱えるようにする必要がある。 DBD::MySQLをインストールする。 # ln -s /usr/local/mysql/bin/mysql/mysql_config /usr/local/bin/mysql_config $ wget
ベイズ理論に基づいた処理でスパム排除を行うオープンソースソフトウェアのSpamAssassin。米国発のOSSで2バイトコードのスパムへ効果的に対処すべく、日本でもユーザー会が発足された。ユーザー会代表で久保氏によるコラムをお送りする。 スパムを取り巻く状況は変化しつつある スパム(Spam)とは、「受取人の同意なく一方的に送り付けられる商業宣伝メール」などと定義されており、日本では「迷惑メール」と表記されることも多い。しかし、単に不愉快、かつ迷惑というひと言では片付けられず、次のような問題点からも、有害だと考えられる。 スパムと正規のメール選別に時間がかかる。 大切なメールまで間違えて排除する可能性があり、信用にかかわるトラブルを引き起こす場合がある。 スパイウェアなどの有害なプログラムを受け取ってしまう可能性がある。 フィッシング詐欺、架空請求の被害に巻き込まれることがある。 多数のス
Postfix-MLで質問した件のまとめ。 自分とこのサーバは、ClamSMTPを利用してClamAVでMTAでのウイルスメールフィルタをしていますが、この場合だとSpamAssassinを利用するとき、.forwardとかでユーザ毎にSpamAssassinを利用してもらう場合は良いのだけども、全アカウントにSpamAssassinを一度通したい場合、簡単な設定方法が見あたらず、どうしたもんかなあと思っていました。 同じ構成、目的で Postfix+ClamSMTP の配送中に SpamAssasin をかける - Mimori's Algorithms tDiary(2005-02-09) で実現されているものの、Rubyでフィルタを書いて実現されていて、もっと設定だけで簡単にできそうなのになんとかならんかな〜、と思いMLで質問してみました。 Postfixの設定だけで可能な方法と、S
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く