Procházet zdrojové kódy

Make default postfix configuration compatible with stretch

Emmanuel Bouthenot před 7 roky
rodič
revize
2d17e1b572
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  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