浏览代码

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