From 59c86cd2f15adc5ebcc6070d97b433b98a053e92 Mon Sep 17 00:00:00 2001
From: Herman van Rink <rink@initfour.nl>
Date: Mon, 8 Mar 2021 15:33:09 +0100
Subject: [PATCH] String changes

---
 server/lib/classes/cron.d/100-monitor_domain_mx.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/server/lib/classes/cron.d/100-monitor_domain_mx.php b/server/lib/classes/cron.d/100-monitor_domain_mx.php
index 2254efddc6..b1af19e85c 100755
--- a/server/lib/classes/cron.d/100-monitor_domain_mx.php
+++ b/server/lib/classes/cron.d/100-monitor_domain_mx.php
@@ -103,17 +103,17 @@ class cronjob_monitor_domain_mx  extends cronjob {
 					if ($maildomain['active'] == 'y') {
 						$app->log('Mail domain[' . $maildomain['domain'] . '] is active but the DNS does not match our IP.', LOGLEVEL_WARN);
 						$state = 'warning';
-						$data[$maildomain['domain']] = 'Email domain is active but the DNS does not match our IP.';
+						$data[$maildomain['domain']] = 'Domain is active but the DNS does not match our IP.';
 					} else {
 
-						$app->log('Good, the email domain[' . $maildomain['domain'] . '] is not active and DNS is not pointing to us.', LOGLEVEL_DEBUG);
+						$app->log('Good, the mail domain[' . $maildomain['domain'] . '] is not active and DNS is not pointing to us.', LOGLEVEL_DEBUG);
 					}
 				}
 				else {
 					if ($maildomain['active'] == 'n') {
-						$app->log('DNS points to our IP but the email domain[' . $maildomain['domain'] . '] is not active.', LOGLEVEL_WARN);
+						$app->log('DNS points to our IP but the mail domain[' . $maildomain['domain'] . '] is not active.', LOGLEVEL_WARN);
 						$state = 'warning';
-						$data[$maildomain['domain']] = 'DNS points to our IP but the email domain is not active.';
+						$data[$maildomain['domain']] = 'DNS points to our IP but the mail domain is not active.';
 					}
 					else {
 						// DNS OK.
-- 
GitLab