diff --git a/host_vars/boeing.adm.crans.org.yml b/host_vars/boeing.adm.crans.org.yml index fe9d1c69..882cb80d 100644 --- a/host_vars/boeing.adm.crans.org.yml +++ b/host_vars/boeing.adm.crans.org.yml @@ -7,5 +7,4 @@ postfix: secondary: true public: true dkim: true - mailman: false titanic: true diff --git a/host_vars/redisdead.adm.crans.org.yml b/host_vars/redisdead.adm.crans.org.yml index 8228a1d0..999c2eb4 100644 --- a/host_vars/redisdead.adm.crans.org.yml +++ b/host_vars/redisdead.adm.crans.org.yml @@ -8,7 +8,6 @@ postfix: secondary: false public: true dkim: true - mailman: true titanic: false to_backup: diff --git a/host_vars/sputnik.adm.crans.org.yml b/host_vars/sputnik.adm.crans.org.yml index 7e6ff41c..0ad18335 100644 --- a/host_vars/sputnik.adm.crans.org.yml +++ b/host_vars/sputnik.adm.crans.org.yml @@ -4,7 +4,6 @@ postfix: secondary: true public: true dkim: true - mailman: false titanic: false to_backup: diff --git a/roles/postfix/templates/postfix/transport.j2 b/roles/postfix/templates/postfix/transport.j2 index 954c3b01..87cd249d 100644 --- a/roles/postfix/templates/postfix/transport.j2 +++ b/roles/postfix/templates/postfix/transport.j2 @@ -1,11 +1,9 @@ {{ ansible_header | comment }} # Transport des mails -{% if postfix.mailman %} +{% if postfix.primary or postfix.secondary %} # Les mailing-listes sont delivrees sur un serveur à part lists.crans.org smtp:[{{ query('ldap', 'ip', 'mailman', 'adm') | ipv4 | first }}] -{% endif %} -{% if postfix.primary or postfix.secondary %} # C'est le serveur des adherents qui fait les livraisons des # adresses clubs et adherents crans.org smtp:[users.adm.crans.org]