As behind permit is no ,hash:/etc/postfix/rbl_override,
permit
reject_rbl_client bl.spamcop.net,
reject_rbl_client bl.score.senderscore.com,
Your permit is a false line.
Also the last line does have a , making it an non ending line.
In short, your config is a mess and it's a wonder it works at all
it should be like this, and then it will not work:
Code: Select all
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_unauth_pipelining,
reject_non_fqdn_recipient,
check_policy_service unix:private/policy,
hash:/etc/postfix/rbl_override,
permit,
reject_rbl_client bl.spamcop.net,
reject_rbl_client bl.score.senderscore.com
Code: Select all
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_unauth_pipelining,
reject_non_fqdn_recipient,
check_policy_service unix:private/policy,
hash:/etc/postfix/rbl_override,
reject_rbl_client bl.spamcop.net,
reject_rbl_client bl.score.senderscore.com,
permit
The reason reject_rbl_client bl.spamcop.net, reject_rbl_client bl.score.senderscore.com will not work in a correct config is because the line before permits anything.