From 424122e4959e88433599832a3c1d2d7269bb4eb8 Mon Sep 17 00:00:00 2001 From: Scott Bronson Date: Fri, 30 Sep 2016 18:21:10 -0700 Subject: [PATCH] lack of SPF and DMARC only merits a warning --- management/status_checks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/management/status_checks.py b/management/status_checks.py index 4ad16ed0..452b8094 100755 --- a/management/status_checks.py +++ b/management/status_checks.py @@ -661,7 +661,7 @@ def check_deliverability_domain(domain, deliverable, env, output): if expected in values: output.print_ok("Domain's SPF record %ss mail delivery. [%s ↦ %s]" % (action, domain, expected)) else: - output.print_error("This domain should %s mail delivery by setting a TXT record: %s ↦ %s" % (action, domain, expected)) + output.print_warning("This domain should %s mail delivery by setting a TXT record: %s ↦ %s" % (action, domain, expected)) # ensure the DMARC record specifies the correct action dmarc_domain = '_dmarc.' + domain @@ -670,7 +670,7 @@ def check_deliverability_domain(domain, deliverable, env, output): if expected == values: output.print_ok("Domain's DMARC record %ss mail delivery. [%s ↦ %s]" % (action, dmarc_domain, expected)) else: - output.print_error("This domain should %s mail delivery by setting a DMARC record: %s ↦ %s" % (action, dmarc_domain, expected)) + output.print_warning("This domain should %s mail delivery by setting a DMARC record: %s ↦ %s" % (action, dmarc_domain, expected)) def query_dns(qname, rtype, nxdomain='[Not Set]', at=None):