From ab303a3ae13bd2d635e03218ba363f7bc9502628 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 2 Oct 2018 00:47:11 +0000 Subject: [PATCH] adjust postfix config for 3.3.0 and later that has to set smtpd_recipient_restrictions --- roles/base/files/postfix/main.cf/main.cf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/base/files/postfix/main.cf/main.cf b/roles/base/files/postfix/main.cf/main.cf index c8f2706da3..dca6dac30c 100644 --- a/roles/base/files/postfix/main.cf/main.cf +++ b/roles/base/files/postfix/main.cf/main.cf @@ -685,3 +685,7 @@ readme_directory = /usr/share/doc/postfix-2.4.5/README_FILES message_size_limit = 20971520 #inet_protocols = ipv4 + +# 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