Explorar el Código

Make default postfix configuration compatible with stretch

Emmanuel Bouthenot hace 7 años
padre
commit
2d17e1b572
Se han modificado 1 ficheros con 5 adiciones y 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