From e62d1b8085e79facb8708cb10e1dc4d8b98059c3 Mon Sep 17 00:00:00 2001 From: niten Date: Fri, 29 Sep 2023 16:54:54 -0700 Subject: [PATCH] It DID say relay... --- postfix.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postfix.nix b/postfix.nix index 8d1e0bd..8b6a7a2 100644 --- a/postfix.nix +++ b/postfix.nix @@ -243,12 +243,12 @@ in { cfg.blacklist.dns) ++ [ "reject" ]; relay-restrictions = [ - "reject_unauth_destination" "reject_unauth_pipelining" "reject_unknown_sender_domain" + "permit_sasl_authenticated" ] ++ (map (blacklist: "reject_rbl_client ${blacklist}") cfg.blacklist.dns) - ++ [ "permit_mynetworks" "permit_sasl_authenticated" "reject" ]; + ++ [ "permit_mynetworks" "reject_unauth_destination" "reject" ]; recipient-restrictions = [ "check_sender_access ${mappedFile "reject_recipients"}"