diff --git a/roles/postfix/templates/postfix/main.cf.j2 b/roles/postfix/templates/postfix/main.cf.j2 index 8605c2353593d20ba2f89d98344395a02d0d9ec6..091677c8f614baacb2e9d2e72f739f037214fd6a 100644 --- a/roles/postfix/templates/postfix/main.cf.j2 +++ b/roles/postfix/templates/postfix/main.cf.j2 @@ -20,12 +20,13 @@ mynetworks = 127.0.0.0/8, [::1]/128 # Destinations acceptees mydestination = {{ ansible_hostname }}, $myhostname, localhost, localhost.$mydomain {% if postfix.primary or not postfix.secondary %} - $mydomain, crans.ens-cachan.fr, clubs.ens-cachan.fr, install-party.ens-cachan.fr, crans.fr, crans.eu, lists.crans.org + $mydomain, crans.ens-cachan.fr, clubs.ens-cachan.fr, install-party.ens-cachan.fr, crans.fr, crans.eu {% endif %} # Domaine relaye par ce MX relay_domains = $mydestination + lists.$mydomain {% if postfix.secondary %} - $mydomain, crans.ens-cachan.fr, clubs.ens-cachan.fr, install-party.ens-cachan.fr, crans.fr, crans.eu, lists.crans.org + $mydomain, crans.ens-cachan.fr, clubs.ens-cachan.fr, install-party.ens-cachan.fr, crans.fr, crans.eu {% endif %} # Etre notifie ou non de l'arrive de nouveaux mails {% if postfix.primary or postfix.secondary %}