[Postfix] Get rid of canonical address mapping.
							parent
							
								
									862883eacc
								
							
						
					
					
						commit
						a81cf43364
					
				| 
						 | 
					@ -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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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