Skip to content

Commit

Permalink
fix: reduce error levels to warn only
Browse files Browse the repository at this point in the history
Not everyone MUST currently use mx or dmarc to send and receive email.
e.g. a particular LMS might not utilise mx records at all.
  • Loading branch information
keevan committed Sep 10, 2024
1 parent 25871da commit 34b6460
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/check/dnsdmarc.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function get_result(): result {

if (empty($dmarc)) {
$details .= "<p>DMARC record is missing</p>";
$status = result::ERROR;
$status = result::WARNING;
$summary = "DMARC DNS record missing";
} else {
$details .= "<p>DMARC record found on domain <code>$dmarcdomain</code><br><code>$dmarc</code></p>";
Expand Down
2 changes: 1 addition & 1 deletion classes/check/dnsmx.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function get_result(): result {

if (empty($mxdomains)) {
$details .= "<p>MX record is missing</p>";
$status = result::ERROR;
$status = result::WARNING;
$summary = "MX DNS record missing";
} else {
$allmxdomains = join('<br>', array_map(function ($x) {
Expand Down

0 comments on commit 34b6460

Please sign in to comment.