[postfix] Deploy canonical configuration file

certbot_on_virtu
_benjamin 2020-01-24 10:42:47 +01:00
parent 709b968d98
commit fd316366f8
2 changed files with 7 additions and 1 deletions

View File

@ -24,5 +24,5 @@
- sender_login_maps - sender_login_maps
- postscreen_access.cidr - postscreen_access.cidr
- sasl/smtpd.conf - sasl/smtpd.conf
# - canonical - canonical
# - virtual # - virtual

View File

@ -0,0 +1,6 @@
# {{ ansible_managed }}
# Fichier fournissant des méthodes pour traduire certaines adresses
/^(.*)@localhost(\.crans\.org)?$/ ${1}@crans.org
/^(.*)@{{ ansible_hostname }}.adm.crans.org$/ ${1}@crans.org
/^(.*)@{{ ansible_hostname }}.crans.org$/ ${1}@crans.org