Permit in the end

This commit is contained in:
niten 2023-10-02 13:16:34 -07:00
parent 9fb588d62c
commit 76333c0a7c
1 changed files with 2 additions and 2 deletions

View File

@ -248,7 +248,7 @@ in {
"permit_sasl_authenticated" "permit_sasl_authenticated"
] ++ (map (blacklist: "reject_rbl_client ${blacklist}") ] ++ (map (blacklist: "reject_rbl_client ${blacklist}")
cfg.blacklist.dns) cfg.blacklist.dns)
++ [ "permit_mynetworks" "reject_unauth_destination" ]; ++ [ "permit_mynetworks" "reject_unauth_destination" "permit" ];
recipient-restrictions = [ recipient-restrictions = [
"check_recipient_access ${mappedFile "reject_recipients"}" "check_recipient_access ${mappedFile "reject_recipients"}"
@ -264,7 +264,7 @@ in {
"check_policy_service unix:private/policy-spf" "check_policy_service unix:private/policy-spf"
] ++ (map (blacklist: "reject_rbl_client ${blacklist}") ] ++ (map (blacklist: "reject_rbl_client ${blacklist}")
cfg.blacklist.dns) cfg.blacklist.dns)
++ [ "permit_mynetworks" "reject_unauth_destination" ]; ++ [ "permit_mynetworks" "reject_unauth_destination" "permit" ];
client-restrictions = client-restrictions =
[ "permit_sasl_authenticated" "permit_mynetworks" "reject" ]; [ "permit_sasl_authenticated" "permit_mynetworks" "reject" ];