diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-05-29 22:01:00 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-05-29 22:01:00 -0300 |
commit | bf23720c1e32b8ea06dd3d74ccbe57f74aea3462 (patch) | |
tree | bba0911048934a6a547a74879ad0d33a976a72c5 /manifests/mail.pp | |
parent | 581049cbeb494f57a5302f05b5384479e644d757 (diff) | |
download | puppet-nodo-bf23720c1e32b8ea06dd3d74ccbe57f74aea3462.tar.gz puppet-nodo-bf23720c1e32b8ea06dd3d74ccbe57f74aea3462.tar.bz2 |
Introducing $postfix_mynetworks
Diffstat (limited to 'manifests/mail.pp')
-rw-r--r-- | manifests/mail.pp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/mail.pp b/manifests/mail.pp index bcc386e..2445af6 100644 --- a/manifests/mail.pp +++ b/manifests/mail.pp @@ -4,6 +4,10 @@ class nodo::mail { $postfix_smtp_listen = "$ipaddress" $postfix_mydestination = '$myhostname, $mydomain, localhost.$mydomain, localhost' + case $postfix_mynetworks { + '': { $postfix_mynetworks = "127.0.0.0/8" } + } + include nodo::vserver include postfix include database @@ -36,7 +40,7 @@ class nodo::mail { "mydomain": value => "$domain"; "myhostname": value => "$fqdn"; "mydestination": value => $postfix_mydestination; - "mynetworks": value => "127.0.0.0/8"; + "mynetworks": value => "$postfix_mynetworks"; "relay_domains": value => "$domain"; "virtual_alias_maps": value => "hash:/etc/postfix/virtual"; "transport_maps": value => "hash:/etc/postfix/transport"; |