From c90043d44a857df83a1317ed2c3a7d2851511a1f Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 24 Jan 2020 13:58:05 +0100 Subject: [PATCH] Move the max_message_size option out of the 'if' case. --- library/roles/postfix-relay/templates/main.cf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/roles/postfix-relay/templates/main.cf.j2 b/library/roles/postfix-relay/templates/main.cf.j2 index 9e7a09b9..04846327 100644 --- a/library/roles/postfix-relay/templates/main.cf.j2 +++ b/library/roles/postfix-relay/templates/main.cf.j2 @@ -55,6 +55,7 @@ inet_interfaces = localhost inet_protocols = ipv4 {% endif %} mailbox_size_limit = 0 +message_size_limit = {{ postfix_message_size_limit }} recipient_delimiter = + default_destination_concurrency_limit = {{ postfix_default_destination_concurrency_limit }} {% if postfix_use_sasl_auth %} @@ -77,7 +78,6 @@ smtpd_sasl_tls_security_options = {{ postfix_smtp_sasl_tls_security_options }} smtpd_helo_required = yes mynetworks = {{ postfix_mynetworks }} inet_interfaces = {{ postfix_interfaces }} -message_size_limit = {{ postfix_message_size_limit }} # Don't talk to mail systems that don't know their own hostname. smtpd_helo_restrictions = reject_unknown_helo_hostname