[Postfix] Get rid of canonical address mapping.
parent
862883eacc
commit
a81cf43364
|
@ -2,7 +2,6 @@
|
|||
- name: generate postmaps
|
||||
command: /usr/sbin/postmap {{ item }}
|
||||
loop:
|
||||
- /etc/postfix/canonical
|
||||
- /etc/postfix/mime_header_checks
|
||||
- /etc/postfix/recipient_access
|
||||
- /etc/postfix/sender_login_maps
|
||||
|
|
|
@ -24,6 +24,5 @@
|
|||
- sender_login_maps
|
||||
- postscreen_access.cidr
|
||||
- sasl/smtpd.conf
|
||||
- canonical
|
||||
notify:
|
||||
- generate postmaps
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue