Chinaunix首页 | 论坛 | 博客
  • 博客访问: 579754
  • 博文数量: 142
  • 博客积分: 10016
  • 博客等级: 上将
  • 技术积分: 1835
  • 用 户 组: 普通用户
  • 注册时间: 2008-07-10 14:30
个人简介

工作中~

文章分类

全部博文(142)

文章存档

2009年(25)

2008年(117)

我的朋友

分类:

2008-09-02 14:57:06

 lxq007
Debian 上, Postgrey 的安装、

1. 安裝 Postgrey
apt-get install postgrey


2. 修改 /etc/postfix/main.cf 在 smtpd_recipient_restrictions 的里面加入:
check_policy_service inet:127.0.0.1:60000


Postgrey 默认的等待时间是5分钟,可以改为1分钟
修改 /etc/default/postgrey:
POSTGREY_OPTS="--inet=127.0.0.1:60000 --delay=60"


最后重启 postfix 及 postgrey 就好了!
# /etc/init.d/postfix restart
# /etc/init.d/postgrey restart


设置白名单
[root ~]# nano /etc/Postfix/postgrey_whitelist_Clients
yahoo.cn
163.com
阅读(1627) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~