Add conditional

This commit is contained in:
phil 2023-04-19 15:47:27 +02:00
parent 4bdd7e52bb
commit 4d198472f8

View file

@ -342,12 +342,14 @@ local_header_rewrite_clients = permit_mynetworks
mailbox_size_limit = 0 mailbox_size_limit = 0
message_size_limit = {{ postfix_message_size_limit }} message_size_limit = {{ postfix_message_size_limit }}
{% if postfix_type == "internet" %}
### Destination limits ### Destination limits
# Some mail server limit concurrent connections # Some mail server limit concurrent connections
# Solves: Maximum parallel connections for your IP-Address # Solves: Maximum parallel connections for your IP-Address
dlimit_destination_concurrency_limit = 4 dlimit_destination_concurrency_limit = 4
dlimit_destination_recipient_limit = 3 dlimit_destination_recipient_limit = 3
dlimit_destination_rate_delay = 5s dlimit_destination_rate_delay = 5s
{% endif %}
{% if postfix_proxy_read_maps is defined %} {% if postfix_proxy_read_maps is defined %}
### Proxy maps ### Proxy maps