|
|
@@ -65,15 +65,6 @@ class InfoSettingDataProvider extends BaseDataProvider
|
|
|
} else {
|
|
|
in_array($this->getWhmcsParamByKey('serverhostname'),$dnsRecords['mx']) ? $mx = implode('',$dnsRecords['mx']) : $mx = 'wrong';
|
|
|
}
|
|
|
-
|
|
|
- logModuleCall(
|
|
|
- 'kerioEmail',
|
|
|
- __FUNCTION__,
|
|
|
- $dnsRecords['mx'],
|
|
|
- 'Debug MX',
|
|
|
- implode('',$dnsRecords['mx'])
|
|
|
- );
|
|
|
-
|
|
|
if(empty($dnsRecords['spf'])) {
|
|
|
$spf = 'unset';
|
|
|
} else {
|
|
|
@@ -104,7 +95,7 @@ class InfoSettingDataProvider extends BaseDataProvider
|
|
|
$this->data = [
|
|
|
'id' => $maildomain,
|
|
|
'domain' => $maildomain,
|
|
|
- 'mxactive' => $dnsRecords['mx'],
|
|
|
+ 'mxactive' => $mx,
|
|
|
'spf' => $spf,
|
|
|
'dmarc' => $dmarc,
|
|
|
'dkim' => $dkim,
|