summaryrefslogtreecommitdiffstats
path: root/zones.d/global-templates
diff options
context:
space:
mode:
Diffstat (limited to 'zones.d/global-templates')
-rw-r--r--zones.d/global-templates/services.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/zones.d/global-templates/services.conf b/zones.d/global-templates/services.conf
index d86a7a0..a540ff5 100644
--- a/zones.d/global-templates/services.conf
+++ b/zones.d/global-templates/services.conf
@@ -72,10 +72,10 @@ apply Service "mailq" {
mailq_critical = 55
mailq_domain_warning = 30
mailq_domain_critical = 35
- mailq_servertype = host.vars.mailserver
+ mailq_servertype = host.vars.mailserver || "nullmailer"
}
- assign where host.vars.mailserver
+ assign where host.vars.mailserver != "none"
}
apply Service "pgsql" {