Fix duplicated mapping parameters on main.cf
Fixes the creation of duplicated parameters on main.cf by using the "set_parameter" macro to append the mapping parameter to the "processed_parameters" list.
This commit is contained in:
parent
cf42ec7e8c
commit
e40c589cd5
@ -129,7 +129,7 @@ policy-spf_time_limit = {{ policyd_spf.get('time_limit', '3600s') }}
|
||||
{%- set file_path = postfix.config_path ~ '/' ~ file_path %}
|
||||
{%- endif %}
|
||||
|
||||
{{ mapping }} = {{ file_type }}:{{ file_path }}
|
||||
{{ set_parameter(mapping, file_type ~ ':' ~ file_path) }}
|
||||
{% endfor %}
|
||||
|
||||
{# Accept arbitrary parameters -#}
|
||||
|
Loading…
Reference in New Issue
Block a user