From 61330941e4a39ba1aa28a3baa52fb75aa6024a6f Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Thu, 27 Jun 2024 14:54:45 +0200 Subject: [PATCH] [base/postfix] Set the missing required configuration value Signed-off-by: Michal Konecny --- roles/base/files/postfix/main.cf/main.cf.mailman | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/base/files/postfix/main.cf/main.cf.mailman b/roles/base/files/postfix/main.cf/main.cf.mailman index b32cc033d9..d334631534 100644 --- a/roles/base/files/postfix/main.cf/main.cf.mailman +++ b/roles/base/files/postfix/main.cf/main.cf.mailman @@ -698,3 +698,8 @@ relay_domains = hash:/var/lib/mailman3/data/postfix_domains smtpd_sender_restrictions = check_sender_access regexp:/etc/postfix/sender_access permit + +# This has to be set in newer postfix 3.3.0 or later or it will refuse to +# send any email. ;( +smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination +smtpd_relay_restrictions = permit_mynetworks, reject_unauth_destination \ No newline at end of file