Explorar o código

Add missing entries for mydestination in postfix configuration (localhost related)

Emmanuel Bouthenot %!s(int64=10) %!d(string=hai) anos
pai
achega
bca5ec7555
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      roles/common/templates/postfix/main.cf.j2

+ 1 - 1
roles/common/templates/postfix/main.cf.j2

@@ -52,7 +52,7 @@ smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
 myhostname = {{ ansible_fqdn }}
 myorigin = $myhostname
 mydomain = $myhostname
-mydestination = {{ ansible_fqdn }} {{ ansible_hostname }}
+mydestination = {{ ansible_fqdn }} {{ ansible_hostname }} localhost localhost.localdomain
 
 alias_maps = hash:/etc/aliases
 alias_database = $alias_maps