Constructor MessageAuthenticationResult
- Namespace
- MailFathom.Application.Spam.Signals
- Assembly
- MailFathom.Application.dll
MessageAuthenticationResult(string, string, string?, bool)
One sender-authentication outcome a receiving server recorded for a message.
public MessageAuthenticationResult(string Method, string Result, string? Detail, bool IsForwarded)
Parameters
MethodstringThe authentication method, as RFC 8601 names it:
spf,dkim,dmarc, and the rest.ResultstringThe outcome the method reached:
pass,fail,none, and the rest of the RFC 8601 set.DetailstringThe properties the server wrote beside the outcome, or null when it wrote none.
IsForwardedboolWhether the outcome was preserved across a forwarding hop rather than reached by the receiving server itself.
Remarks
This is what the receiving server concluded at the moment it mattered, with the network context of the connection the message arrived on. Nothing after delivery has that context, which is why these outcomes are recorded as facts of their own rather than being re-derived.
A forwarded outcome comes out of the ARC chain of RFC 8617, which preserves SPF and DKIM across the hops where they legitimately break. It is kept apart from a directly observed one because the two have different standing: the first is a claim a relay signed, the second is what this mailbox's own server saw.
Detail can name a sending domain, so it is personal data and is never logged.