From abbfd96a376c0abf1a8670129413b16e91c761cb Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO <ynerant@crans.org> Date: Thu, 25 Mar 2021 11:29:05 +0100 Subject: [PATCH] [mailman] Mailman is relayed Signed-off-by: Yohann D'ANELLO <ynerant@crans.org> --- roles/postfix/templates/postfix/main.cf.j2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/postfix/templates/postfix/main.cf.j2 b/roles/postfix/templates/postfix/main.cf.j2 index 8605c235..091677c8 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 %} -- GitLab