*** postgrey filter とは [#jce28f8d]
- CentOS 5.0 で自動的に組み込まれた SPAM filter 機構である
- SPAM と思われるメールを受信した場合、意図的に受信を拒否して送信者を BerkereyDB によるグレーリストDBに登録する
- 適切な期間内に同じメールサーバーから再送されてきた場合には、このメール送信者はスパマーでなかったとみなす
- 多くの SPAM メールは再送信してこない ・・・・ 再送されなかったメール送信者はスパマーとしてブラックリストに登録し、以降受信拒否する
- この仕組みは非常によく機能するが、弊害としてグレーリストに登録されたメールは(意図的に一度受信拒否して返してしまうので)それが実際にはSPAM でなかったとしても結果的に配送が遅延する

*** 意図的に グレーフィルターに登録しない送信者(ドメイン名)、メールアドレス の指定 [#k11e427f]
- ドメイン名の指定 = /etc/postfix/postgrey_whitelist_clients

 [root@spirit ~]# cat /etc/postfix/postgrey_whitelist_clients
 # postgrey whitelist for mail client hostnames
 # --------------------------------------------
 # put this file in /etc/postfix or specify its path
 # with --whitelist-clients=xxx 
 
 # muna add own list here
 renesas.com
 igel.com
 
 laforet.co.jp
 ana.co.jp
 UNITED.COM
 nissan-fs.co.jp
 hiltonresconfirm.com
 HILTONRES.COM
 hertz.com
 his-world.co.jp
 u-i-trading.co.jp
 
 # greylisting.org: Southwest Airlines (unique sender, no retry)
 southwest.com
 # greylisting.org: Yahoo Groups servers (no retry)
 scd.yahoo.com

- 送信者の指定 = /etc/postfix/postgrey_whitelist_recipients

 [root@spirit ~]# cat /etc/postfix/postgrey_whitelist_recipients
 # postgrey whitelist for mail recipients
 # --------------------------------------
 # put this file in /etc/postfix or specify its path
 # with --whitelist-recipients=xxx 
 
 postmaster@
 abuse@
 yukopn@

*** 10023 ポートによるメールフィルター [#o066aef4]
- postfix の main.cf に postgrey へのルーティングが登録されているので、単純に postgrey サービスを止めてしまうと 10023 への転送ができずにメールがスタックするので注意が必要。 もし postgrey を無効にしたいのであれば main.cf を書き換える必要がある。

*** 参考 URL [#bf4802b9]
- [[SPAMメール対策ツールPostgrey(Postfix Greylisting Policy Server)(日本語):http://www.kozupon.com/postgrey/index.html]]
- [[Postgrey - Postfix Greylisting Policy Server(オリジナル):http://postgrey.schweikert.ch/]]
- [[SPAM撃退モジュール postgrey を Postfix で使用する!:http://www.kozupon.com/mail/postgrey.html]]
- [[Rgrey - S25R + greylisting:http://k2net.hakuba.jp/rgrey/]]
- [[Postgrey:http://www.tuchiya.org/wiki/wiki.cgi?page=Postgrey]]

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS