postfix smtpd_recipient_restrictions配置错误导致smtpd问题

来源:互联网 发布:致远移动协同软件 编辑:程序博客网 时间:2024/06/06 12:30

在postfix官方网上的conf说明中关于它的提示是

IMPORTANT: If you change this parameter setting, you must specifyat least one of the following restrictions. Otherwise Postfix willrefuse to receive mail:

reject, defer, defer_if_permit, reject_unauth_destination

也就是必须包含其中一个.否则启动时是没有问题,但是使用smtp连接时你会发现telnet连接上了.但是postfix却任何反应都没有回馈.

去到/var/log/mail*中会看到错误提示就是这个参数设置有问题.需要包含上面其中一项.然后smtpd现在已经退出运行了.