Преглед изворни кода

Make default postfix configuration compatible with stretch

Emmanuel Bouthenot пре 7 година
родитељ
комит
2d17e1b572
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      roles/common/templates/postfix/main.cf.j2

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

@@ -9,6 +9,11 @@
 # line of that file to be used as the name.  The Debian default
 # is /etc/mailname.
 
+{% if ansible_lsb.major_release|int >= 9 %}
+# Compatibility level
+compatibility_level = 3
+{% endif %}
+
 smtpd_banner = $myhostname ESMTP $mail_name
 biff = no