
我目前正在使用 postfix 重建郵件伺服器,並正在研究一些拒絕規則。
postconf -d | grep mail_version
mail_version = 2.10.1
我在這部分遇到問題:
smtpd_relay_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination
根據此文檔,它應該在我的 postfix 版本中實現:http://www.postfix.org/SMTPD_ACCESS_README.html但由於某種原因,當我實現它時,我總是收到此錯誤:
postfix/smtpd[8865]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
即使我包含“reject_unauth_destination”,它也看不到它。
我對這方面的想法很困惑。
答案1
感謝@MichaelHampton,線路上出現了一個看不見的角色。