[Postfix] Configuration for master smtp.
parent
a81cf43364
commit
9f15e2115c
|
@ -0,0 +1,7 @@
|
|||
postfix:
|
||||
primary: true
|
||||
secondary: false
|
||||
public: true
|
||||
dkim: true
|
||||
mailman: true
|
||||
titanic: false
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env ansible-playbook
|
||||
# Postfix playbook
|
||||
---
|
||||
- hosts: sputnik.adm.crans.org, boeing.adm.crans.org
|
||||
- hosts: sputnik.adm.crans.org, boeing.adm.crans.org, redisdead.adm.crans.org
|
||||
roles:
|
||||
- postfix
|
||||
|
|
|
@ -24,15 +24,12 @@ mydestination = {{ ansible_hostname }}, $myhostname, localhost, localhost.$mydom
|
|||
{% endif %}
|
||||
# Domaine relaye par ce MX
|
||||
relay_domains = $mydestination
|
||||
{% if postfix.mailman %}
|
||||
{% if postfix.mailman or postfix.public %}
|
||||
lists.$mydomain
|
||||
{% endif %}
|
||||
{% if postfix.secondary %}
|
||||
$mydomain, crans.ens-cachan.fr, clubs.ens-cachan.fr, install-party.ens-cachan.fr, crans.fr, crans.eu
|
||||
{% endif %}
|
||||
{% if postfix.public %}
|
||||
lists.$mydomain
|
||||
{% endif %}
|
||||
{% if postfix.mailman %}
|
||||
relay_recipient_maps =
|
||||
hash:/var/local/re2o-services/mail-server/generated/virtual
|
||||
|
|
Loading…
Reference in New Issue