mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-07-08 09:45:09 +00:00
Add missing sub dictionary
This commit is contained in:
@@ -353,6 +353,7 @@ def _parse_report_record(record, nameservers=None, timeout=0.5):
|
||||
spf_aligned = policy_evaluated["spf"] == "pass"
|
||||
dkim_aligned = policy_evaluated["dkim"] == "pass"
|
||||
dmarc_aligned = spf_aligned or dkim_aligned
|
||||
new_record["alignment"] = dict()
|
||||
new_record["alignment"]["spf"] = spf_aligned
|
||||
new_record["alignment"]["dkim"] = dkim_aligned
|
||||
new_record["alignment"]["dmarc"] = dmarc_aligned
|
||||
|
||||
Reference in New Issue
Block a user