diff options
author | Micah Anderson <micah@leap.se> | 2013-09-26 17:11:39 -0400 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2013-09-26 17:11:39 -0400 |
commit | 407fad442822e04d311ecfbc7bc54de0b037d3a9 (patch) | |
tree | 2ecd956547bda42ee8098a4341be5a475b6ee934 /puppet | |
parent | 81fe380535c731c7afc134fb4e62b6232f690375 (diff) |
set myhostname in postfix the internet hostname of this mail system. The default would otherwise be set to be something like starfish.local instead of the fully qualified domain (#3869)
Change-Id: I4a537402de08b41446d344d8c21973b8d09e7ad6
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/modules/site_postfix/manifests/mx.pp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/puppet/modules/site_postfix/manifests/mx.pp b/puppet/modules/site_postfix/manifests/mx.pp index 0eb7a7cd..e44b7a9a 100644 --- a/puppet/modules/site_postfix/manifests/mx.pp +++ b/puppet/modules/site_postfix/manifests/mx.pp @@ -2,6 +2,7 @@ class site_postfix::mx { $domain_hash = hiera ('domain') $domain = $domain_hash['full_suffix'] + $host_domain = $domain_hash['full'] $mx_hash = hiera('mx') $cert_name = hiera('name') @@ -16,6 +17,8 @@ class site_postfix::mx { postfix::config { 'mydestination': value => "\$myorigin, localhost, localhost.\$mydomain, ${domain}"; + 'myhostname': + value => $host_domain; 'mailbox_size_limit': value => '0'; 'home_mailbox': |