我试图使用postfix作为smtp但不幸的是我无法发送任何电子邮件(除非通过localhost发送:ex:webmail)。
我现在得到的错误是:
Dec 30 16:35:41 h05 postfix/master[3857]: warning: process /usr/lib/postfix/smtpd pid 5903 exit status 1
Dec 30 16:35:41 h05 postfix/master[3857]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Dec 30 16:35:52 h05 postfix/smtpd[5904]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
而我的smtpd_recipient_restriction配置如下:
cat /etc/postfix/main.cf | grep smtpd_recipient_restrictions
smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10023 permit_sasl_authenticated
smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10023 permit_sasl_authenticated
(root@h05)-(~) $ netstat -alpen | grep 10023
tcp 0 0 127.0.0.1:10023 0.0.0.0:* LISTEN 0 5635 2809/postgrey.pid -
有人有什么建议吗? Linux- 2.6.28.9 / Debian 6.0.5