Table of Contents

Class MessageAuthenticationResult

Namespace
MailFathom.Application.Spam.Signals
Assembly
MailFathom.Application.dll

One sender-authentication outcome a receiving server recorded for a message.

public sealed record MessageAuthenticationResult : IEquatable<MessageAuthenticationResult>
Inheritance
MessageAuthenticationResult
Implements
Inherited Members

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.

Constructors

MessageAuthenticationResult(string, string, string?, bool)

One sender-authentication outcome a receiving server recorded for a message.

Properties

Detail

The properties the server wrote beside the outcome, or null when it wrote none.

IsForwarded

Whether the outcome was preserved across a forwarding hop rather than reached by the receiving server itself.

Method

The authentication method, as RFC 8601 names it: spf, dkim, dmarc, and the rest.

Result

The outcome the method reached: pass, fail, none, and the rest of the RFC 8601 set.