Преглед на файлове

Make possible to add custom settings in postfix main configuration file

Emmanuel Bouthenot преди 9 години
родител
ревизия
33526aa616
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 6 0
      roles/common/templates/postfix/main.cf.j2

+ 6 - 0
roles/common/templates/postfix/main.cf.j2

@@ -126,3 +126,9 @@ milter_default_action = accept
 smtpd_milters = inet:localhost:8891
 non_smtpd_milters = inet:localhost:8891
 {% endif %}
+{% if postfix_config is defined %}
+# Additionnal configuration
+{% for key in postfix_config %}
+{{ key }} = {{ postfix_config[key] }}
+{% endfor %}
+{% endif %}