Postgrey - Postfix Greylisting Policy Server

提供:MDWiki
移動: 案内, 検索

Postgrey は、greylist を使った Postfix 用のポリシーサーバです。

目次

インストール

FreeBSD 8.2 release 上での操作を想定します。

freebsd# cd /usr/ports/mail/postgrey
freebsd# cat distinfo
SHA256 (postgrey-1.34.tar.gz) = 9a9ee2f4e3cbbf15642e47802407c810ac5c54f0ad1572ebec3f0f645eb35707
SIZE (postgrey-1.34.tar.gz) = 36399
freebsd# cat pkg-descr
Postgrey is a program which implements greylisting and is
designed to work with the Postfix MTA.

WWW:  http://postgrey.schweikert.ch/
freebsd# make
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
=> postgrey-1.34.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://postgrey.schweikert.ch/pub/postgrey-1.34.tar.gz
postgrey-1.34.tar.gz                          100% of   35 kB   41 kBps
===>  Extracting for postgrey-1.34
=> SHA256 Checksum OK for postgrey-1.34.tar.gz.
===>  Patching for postgrey-1.34
===>  Configuring for postgrey-1.34
freebsd# make install clean
[...]
Installing /usr/local/lib/perl5/5.12.4/man/man3/Net::DNS::Resolver::Base.3
===>   Compressing manual pages for p5-Net-DNS-0.66_1
===>   Registering installation for p5-Net-DNS-0.66_1
===>   Returning to build of postgrey-1.34
===>   postgrey-1.34 depends on file: /usr/local/bin/perl5.12.4 - found
===>   Generating temporary packing list
===>  Checking if mail/postgrey already installed
---> Starting install script:
---> Adding group "postgrey" (225)
---> Adding user "postgrey" (225)
---> Creating Postgrey database directory (/var/db/postgrey)
install  -o root -g wheel -m 444 /usr/ports/mail/postgrey/work/postgrey-1.34/postgrey_whitelist_clients /usr/local/etc/postfix/dist-postgrey_whitelist_clients
install  -o root -g wheel -m 444 /usr/ports/mail/postgrey/work/postgrey-1.34/postgrey_whitelist_recipients /usr/local/etc/postfix/dist-postgrey_whitelist_recipients
===> Installing rc.d startup script(s)
---> Starting post-install script:
---> Installing new config file /usr/local/etc/postfix/postgrey_whitelist_clients
---> Installing new config file /usr/local/etc/postfix/postgrey_whitelist_recipients
===>   Compressing manual pages for postgrey-1.34
===>   Registering installation for postgrey-1.34
===>  Cleaning for p5-Net-Server-0.99
===>  Cleaning for p5-IO-Multiplex-1.13
===>  Cleaning for p5-Parse-Syslog-1.10
===>  Cleaning for p5-BerkeleyDB-0.49
===>  Cleaning for p5-Net-DNS-0.66_1
===>  Cleaning for p5-IO-stringy-2.110
===>  Cleaning for db47-4.7.25.4
===>  Cleaning for p5-Net-IP-1.25_3
===>  Cleaning for p5-Digest-HMAC-1.03
===>  Cleaning for postgrey-1.34
freebsd#

設定

ポリシーの設定を勉強しよう。

参考

リンク

個人用ツール
名前空間
変種
操作
案内
ツールボックス