Explorar o código

Make default postfix configuration compatible with stretch

Emmanuel Bouthenot %!s(int64=7) %!d(string=hai) anos
pai
achega
2d17e1b572
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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