Karta. Auth. DMARC. Result
(Karta v1.0.0)
The outcome of DMARC for one author domain (RFC 9989 §5.3), in the terms of Authentication-Results (RFC 8601; result codes from RFC 9989 §9.2).
result-:pass(an authenticated identifier is aligned with the author domain),:fail(none is),:none(no DMARC policy applies to the domain),:temperror(a DNS lookup needed for the answer failed: neither pass nor fail) or:permerror(the author domain cannot be evaluated).domain- the author domain (the domain of theFrom:address).policy_domain- where the policy record was found: the author domain, its organisational domain or its public suffix domain.policy- what the domain owner asks for mail that fails::none,:quarantineor:reject, fromp,spornpas they apply, one step milder in test mode (t=y).testing- the record is in test mode.spf_aligned,dkim_aligned- which identifier passed aligned.record- the policy record (Karta.Auth.DMARC.Record).reason- for:none,:temperrorand:permerror, why::no_policy,:dns,:timeoutor:invalid_domain.override- set byKarta.Authwhen local policy accepts a:failanyway::arc(a valid ARC chain from a trusted sealer whose results say DMARC passed). The result stays:fail.
Summary
Types
@type t() :: %Karta.Auth.DMARC.Result{ dkim_aligned: boolean(), domain: String.t() | nil, override: :arc | nil, policy: Karta.Auth.DMARC.Record.policy() | nil, policy_domain: String.t() | nil, reason: atom() | nil, record: Karta.Auth.DMARC.Record.t() | nil, result: :pass | :fail | :none | :temperror | :permerror, spf_aligned: boolean(), testing: boolean() }