From 4d198472f853b5083aa59079f613fa64475bbd30 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 19 Apr 2023 15:47:27 +0200 Subject: [PATCH] Add conditional --- templates/postfix/main.cf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/postfix/main.cf.j2 b/templates/postfix/main.cf.j2 index b7b2b06..84cfb27 100644 --- a/templates/postfix/main.cf.j2 +++ b/templates/postfix/main.cf.j2 @@ -342,12 +342,14 @@ local_header_rewrite_clients = permit_mynetworks mailbox_size_limit = 0 message_size_limit = {{ postfix_message_size_limit }} +{% if postfix_type == "internet" %} ### Destination limits # Some mail server limit concurrent connections # Solves: Maximum parallel connections for your IP-Address dlimit_destination_concurrency_limit = 4 dlimit_destination_recipient_limit = 3 dlimit_destination_rate_delay = 5s +{% endif %} {% if postfix_proxy_read_maps is defined %} ### Proxy maps