forked from ISTI-ansible-roles/ansible-roles
Move the max_message_size option out of the 'if' case.
This commit is contained in:
parent
d53b569189
commit
c90043d44a
|
@ -55,6 +55,7 @@ inet_interfaces = localhost
|
||||||
inet_protocols = ipv4
|
inet_protocols = ipv4
|
||||||
{% endif %}
|
{% endif %}
|
||||||
mailbox_size_limit = 0
|
mailbox_size_limit = 0
|
||||||
|
message_size_limit = {{ postfix_message_size_limit }}
|
||||||
recipient_delimiter = +
|
recipient_delimiter = +
|
||||||
default_destination_concurrency_limit = {{ postfix_default_destination_concurrency_limit }}
|
default_destination_concurrency_limit = {{ postfix_default_destination_concurrency_limit }}
|
||||||
{% if postfix_use_sasl_auth %}
|
{% if postfix_use_sasl_auth %}
|
||||||
|
@ -77,7 +78,6 @@ smtpd_sasl_tls_security_options = {{ postfix_smtp_sasl_tls_security_options }}
|
||||||
smtpd_helo_required = yes
|
smtpd_helo_required = yes
|
||||||
mynetworks = {{ postfix_mynetworks }}
|
mynetworks = {{ postfix_mynetworks }}
|
||||||
inet_interfaces = {{ postfix_interfaces }}
|
inet_interfaces = {{ postfix_interfaces }}
|
||||||
message_size_limit = {{ postfix_message_size_limit }}
|
|
||||||
|
|
||||||
# Don't talk to mail systems that don't know their own hostname.
|
# Don't talk to mail systems that don't know their own hostname.
|
||||||
smtpd_helo_restrictions = reject_unknown_helo_hostname
|
smtpd_helo_restrictions = reject_unknown_helo_hostname
|
||||||
|
|
Loading…
Reference in New Issue