[Postfix] Get rid of canonical address mapping.

certbot_on_virtu
_pollion 2020-05-17 12:08:55 +02:00
parent 862883eacc
commit a81cf43364
3 changed files with 0 additions and 8 deletions

View File

@ -2,7 +2,6 @@
- name: generate postmaps - name: generate postmaps
command: /usr/sbin/postmap {{ item }} command: /usr/sbin/postmap {{ item }}
loop: loop:
- /etc/postfix/canonical
- /etc/postfix/mime_header_checks - /etc/postfix/mime_header_checks
- /etc/postfix/recipient_access - /etc/postfix/recipient_access
- /etc/postfix/sender_login_maps - /etc/postfix/sender_login_maps

View File

@ -24,6 +24,5 @@
- sender_login_maps - sender_login_maps
- postscreen_access.cidr - postscreen_access.cidr
- sasl/smtpd.conf - sasl/smtpd.conf
- canonical
notify: notify:
- generate postmaps - generate postmaps

View File

@ -1,6 +0,0 @@
{{ ansible_header | comment }}
# 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