summaryrefslogtreecommitdiff
path: root/puppet/modules/site_postfix
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-03-07 18:16:13 +0100
committerMicah Anderson <micah@leap.se>2013-07-25 13:45:10 -0400
commit4db33aa76139e26678d1b989873532bc50937917 (patch)
treeb4a3cb6969686d6d79e5e240d99f50b81da4c1c0 /puppet/modules/site_postfix
parent07f1d18e20fb356a80e726e1555dbcc15db1cf45 (diff)
added basic site_postfix::mx config
Diffstat (limited to 'puppet/modules/site_postfix')
-rw-r--r--puppet/modules/site_postfix/manifests/mx.pp16
1 files changed, 16 insertions, 0 deletions
diff --git a/puppet/modules/site_postfix/manifests/mx.pp b/puppet/modules/site_postfix/manifests/mx.pp
new file mode 100644
index 00000000..9104c2cb
--- /dev/null
+++ b/puppet/modules/site_postfix/manifests/mx.pp
@@ -0,0 +1,16 @@
+class site_postfix::mx {
+
+ $domain_hash = hiera ('domain')
+ $domain = $domain_hash['full_suffix']
+
+ # see https://leap.se/code/issues/1936 for contact email addr
+ #$root_mail_recipient = ''
+ $postfix_smtp_listen = 'all'
+
+ postfix::config {
+ # just en example
+ 'delay_warning_time': value => '4h';
+ }
+
+ include ::postfix
+}