|
Postfix+Cyrus-SASL+MySQL只投递经过验证的邮件要如何设置?
就算它是要投到本地域的邮件或来自本地局域网的邮件都要通过验证,否则就不让过。main.cf这一段要如何修改呢?
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
check_recipient_access mysql:/etc/postfix/filter.mysql,
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_unknow_sender_domain,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknow_recipient_domain,
reject_unauth_pipelining,
reject_unauth_destination,
permit |
|