Postgreyのインストール
□事前準備
# yum -y install perl-Net-Server perl-IO-Multiplex perl-BerkeleyDB
□インストール
# cd /usr/local/src/
# wget http://postgrey.schweikert.ch/pub/postgrey-1.32.tar.gz
# tar zxvf postgrey-1.32.tar.gz
# cd postgrey-1.32
# wget http://k2net.hakuba.jp/pub/targrey-0.31-postgrey-1.32.patch
# patch -p0 < targrey-0.31-postgrey-1.32.patch
# rm -rf targrey-0.31-postgrey-1.32.patch
# cp -fv postgrey /usr/local/sbin/
# mkdir /etc/postfix
# cp -fv postgrey_whitelist_* /etc/postfix/
# groupadd -g 95 postgrey
# useradd -M -u 95 -g postgrey -s /sbin/nologin -d /var/spool/postfix/postgrey postgrey
# mkdir -p /var/spool/postfix/postgrey
# chown postgrey.postgrey /var/spool/postfix/postgrey
# vi /etc/rc.d/init.d/postgrey
postgrey_init.txt
# chmod 755 /etc/rc.d/init.d/postgrey
# chkconfig postgrey on
# service postgrey start