我在我所有的 MX 服务器(主要和 2 个备份)上使用 postgrey。从备份服务器接收邮件时,我需要在主服务器上禁用灰名单。怎么做?
当我将 IP/FQDN 添加到 时/etc/postgrey/whitelist_clients,它没有帮助。
指定POSTGREY_OPTS="--inet=10023 --whitelist-clients=/etc/postgrey/whitelist_clients"in/etc/default/postgrey也没有帮助。
您执行了正确的步骤,添加到whitelist_clients. 最好新建一个文件whitelist_clients.local,升级postgrey包时不修改,也是postgrey读取的。然后,重新启动 postgrey。
但是,由于Debian postgrey init 脚本中的一个错误,postgrey 实际上并没有通过运行重新启动service postgrey restart(即使停止它也会被破坏)。要么重新启动整个机器,要么手动终止 postgrey 进程并再次启动它(使用service postgrey start)。
该问题被告知将在 2014 年 6 月修复,并且重新启动有望在未来的 Debian/Ubuntu 版本中工作。
| 归档时间: |
|
| 查看次数: |
33192 次 |
| 最近记录: |