summaryrefslogtreecommitdiff
path: root/manifests/system.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-04-07 16:07:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-04-07 16:07:35 -0300
commit247d8f1f2e462321f80070154b0fc30c97acba36 (patch)
tree772e0ee6d40fbeeda6cccd17f1820302d9242363 /manifests/system.pp
parent2af99be9d538b91130438473697b0e1d8279bee9 (diff)
downloadpuppet-mail-247d8f1f2e462321f80070154b0fc30c97acba36.tar.gz
puppet-mail-247d8f1f2e462321f80070154b0fc30c97acba36.tar.bz2
Adding mlmmj support
Diffstat (limited to 'manifests/system.pp')
-rw-r--r--manifests/system.pp15
1 files changed, 14 insertions, 1 deletions
diff --git a/manifests/system.pp b/manifests/system.pp
index b0926f5..217e5c3 100644
--- a/manifests/system.pp
+++ b/manifests/system.pp
@@ -4,6 +4,7 @@ class mail::system {
$postfix_use_dovecot_lda = "yes"
$postfix_use_schleuder = "yes"
$postfix_use_sympa = "yes"
+ $postfix_use_mlmmj = "yes"
$postfix_anon_sasl = "yes"
$postfix_manage_transport_regexp = "yes"
$postfix_manage_virtual_regexp = "yes"
@@ -65,8 +66,20 @@ class mail::system {
}
}
+ # Mlmmj
+ case $mail_mlmmj {
+ true: {
+ case $mlmmj_subdomain {
+ '': { $mlmmj_subdomain = "mlmmj" }
+ }
+
+ $mlmmj_relay_domains = ", ${mlmmj_subdomain}.${domain}"
+ include mail::mlmmj
+ }
+ }
+
case $postfix_relay_domains {
- '': { $postfix_relay_domains = "${postfix_default_relay_domains}${sympa_relay_domains}${schleuder_relay_domains}" }
+ '': { $postfix_relay_domains = "${postfix_default_relay_domains}${sympa_relay_domains}${schleuder_relay_domains}${mlmmj_relay_domains}" }
}
# Include base configuration