summaryrefslogtreecommitdiff
path: root/manifests/system.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/system.pp')
-rw-r--r--manifests/system.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/system.pp b/manifests/system.pp
index e48f52e..5b08c83 100644
--- a/manifests/system.pp
+++ b/manifests/system.pp
@@ -4,7 +4,10 @@ class mail::system {
$postfix_use_dovecot_lda = "yes"
$postfix_use_schleuder = "yes"
$postfix_use_sympa = "yes"
- $postfix_mydestination = '$myhostname, localhost.$mydomain, localhost'
+
+ case $postfix_mydestination {
+ '': { $postfix_mydestination = '$myhostname, localhost.$mydomain, localhost' }
+ }
case $postfix_mynetworks {
'': { $postfix_mynetworks = "127.0.0.0/8" }