summaryrefslogtreecommitdiff
path: root/manifests/system.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-04-07 16:23:48 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-04-07 16:23:48 -0300
commit653b5d37ea97f4c339cf9532bd229c07a9a38a7a (patch)
tree826a15c6d242376a16d1d13b7928c0d4cc1ea271 /manifests/system.pp
parent682b5e84af9995961f2a81514252c1d43ace74f1 (diff)
downloadpuppet-mail-653b5d37ea97f4c339cf9532bd229c07a9a38a7a.tar.gz
puppet-mail-653b5d37ea97f4c339cf9532bd229c07a9a38a7a.tar.bz2
Initial firma 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 217e5c3..a1df20f 100644
--- a/manifests/system.pp
+++ b/manifests/system.pp
@@ -5,6 +5,7 @@ class mail::system {
$postfix_use_schleuder = "yes"
$postfix_use_sympa = "yes"
$postfix_use_mlmmj = "yes"
+ $postfix_use_firma = "yes"
$postfix_anon_sasl = "yes"
$postfix_manage_transport_regexp = "yes"
$postfix_manage_virtual_regexp = "yes"
@@ -78,8 +79,20 @@ class mail::system {
}
}
+ # Firma
+ case $mail_firma {
+ true: {
+ case $firma_subdomain {
+ '': { $firma_subdomain = "firma" }
+ }
+
+ $firma_relay_domains = ", ${firma_subdomain}.${domain}"
+ include mail::firma
+ }
+ }
+
case $postfix_relay_domains {
- '': { $postfix_relay_domains = "${postfix_default_relay_domains}${sympa_relay_domains}${schleuder_relay_domains}${mlmmj_relay_domains}" }
+ '': { $postfix_relay_domains = "${postfix_default_relay_domains}${sympa_relay_domains}${schleuder_relay_domains}${mlmmj_relay_domains}${firma_relay_domains}" }
}
# Include base configuration