Update dns_diagnostics.php

Oops, forgot 2 vars.
master
André Peters 2018-01-03 21:00:29 +01:00 committed by GitHub
parent 111655c199
commit 74bd635505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -73,6 +73,9 @@ if (!isset($autodiscover_config['sieve'])) {
} }
// Init records array // Init records array
$spf_link = '<a href="http://www.openspf.org/SPF_Record_Syntax" target="_blank">SPF Record Syntax</a>';
$dmarc_link = '<a href="http://www.kitterman.com/dmarc/assistant.html" target="_blank">DMARC Assistant</a>';
$records = array(); $records = array();
$records[] = array( $records[] = array(
$mailcow_hostname, $mailcow_hostname,
@ -164,13 +167,13 @@ $records[] = array(
$records[] = array( $records[] = array(
$domain, $domain,
'TXT', 'TXT',
'<a href="http://www.openspf.org/SPF_Record_Syntax" target="_blank">SPF Record Syntax</a>', $spf_link,
state_optional state_optional
); );
$records[] = array( $records[] = array(
'_dmarc.' . $domain, '_dmarc.' . $domain,
'TXT', 'TXT',
'<a href="http://www.kitterman.com/dmarc/assistant.html" target="_blank">DMARC Assistant</a>', $dmarc_link,
state_optional state_optional
); );