fix todo and use similar pattern as for the rest of the parameters

This commit is contained in:
david 2015-02-04 12:16:36 +01:00
parent fef4cf2093
commit 81c97bdc63

View File

@ -46,14 +46,12 @@
{{ set_parameter('mailbox_size_limit', '0') }} {{ set_parameter('mailbox_size_limit', '0') }}
{{ set_parameter('recipient_delimiter', '+') }} {{ set_parameter('recipient_delimiter', '+') }}
{{ set_parameter('inet_interfaces', 'all') }} {{ set_parameter('inet_interfaces', 'all') }}
{{ set_parameter('message_size_limit', '41943040') }}
{% if 'virtual' in pillar.get('postfix','') %} {% if 'virtual' in pillar.get('postfix','') %}
virtual_alias_maps = hash:/etc/postfix/virtual virtual_alias_maps = hash:/etc/postfix/virtual
{% endif %} {% endif %}
#TODO: move into a pillar
message_size_limit = 41943040
{# Accept arbitrary parameters -#} {# Accept arbitrary parameters -#}
{% for parameter in config -%} {% for parameter in config -%}
{% if parameter not in processed_parameters -%} {% if parameter not in processed_parameters -%}