Преглед изворни кода

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

Emmanuel Bouthenot пре 10 година
родитељ
комит
bca5ec7555
1 измењених фајлова са 1 додато и 1 уклоњено
  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