ZhangHuangbin wrote:With iRedMail, you should config postfix main.cf with below settings in "smtpd_recipient_restrictions =":
smtpd_recipient_restrictions =
... [SKIP OTHER SETTINGS] ...,
permit_sasl_authenticated,
... [SKIP OTHERS] ...,
__RBL_SETTINGS__,
I mean, put "permit_sasl_authenticated" BEFORE your RBL settings.
Thank you so much for your input. I moved the "permit_sasl_authenticated statement" very first in line before the "reject_rbl_client" statement below, did a postfix reload, and was unable to send mail because the "server doesnt allow relaying". So I moved my backup main.conf back into place. I wonder, because I move the "permit_mynetworks" statement with it, if that's what broke it.
I have included the line as it appears in main.cf for your approval.
[CURRENT]
smtpd_recipient_restrictions = reject_rbl_client b.barracudacentral.org,reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_policy_service inet:127.0.0.1:10031
[PROPOSED]
smtpd_recipient_restrictions = permit_sasl_authenticated,reject_rbl_client b.barracudacentral.org,reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, permit_mynetworks, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_policy_service inet:127.0.0.1:10031
Is my "proposed" statement in congruence with your instructions ? I thank you again so much.