summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-23 21:18:20 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-23 21:18:20 -0300
commit0a87a7d7225b0fd509aebfa4a23c599705c96190 (patch)
treecc0aefaa69586ffcaa2bf92831f2574a149bddaa
parentf7172c4e3a9a06f90394f6335c39ded084b7205a (diff)
downloadpuppet-mail-0a87a7d7225b0fd509aebfa4a23c599705c96190.tar.gz
puppet-mail-0a87a7d7225b0fd509aebfa4a23c599705c96190.tar.bz2
Schleuder configuration
-rw-r--r--manifests/schleuder.pp8
-rw-r--r--manifests/system.pp1
2 files changed, 9 insertions, 0 deletions
diff --git a/manifests/schleuder.pp b/manifests/schleuder.pp
new file mode 100644
index 0000000..ec31e11
--- /dev/null
+++ b/manifests/schleuder.pp
@@ -0,0 +1,8 @@
+class mail::schleuder {
+ postfix::config { "schleuder_destination_recipient_limit": value => '1' }
+
+ postfix::transport { "encrypted.$domain":
+ ensure => present,
+ destination => "schleuder",
+ }
+}
diff --git a/manifests/system.pp b/manifests/system.pp
index d33a792..b14835a 100644
--- a/manifests/system.pp
+++ b/manifests/system.pp
@@ -70,6 +70,7 @@ class mail::system {
case $mail_schleuder {
true: {
include mail::packages::schleuder
+ include schleuder
}
}
}