Method LocallyVerified
- Namespace
- MailFathom.Domain.Emails.Authentication
- Assembly
- MailFathom.Domain.dll
LocallyVerified(IReadOnlyList<SenderDomain>, SenderDomain?)
Records that this deployment verified a DKIM signature itself, no trusted server having said anything.
public static SenderAuthentication LocallyVerified(IReadOnlyList<SenderDomain> verifiedSigningDomains, SenderDomain? fromDomain)
Parameters
verifiedSigningDomainsIReadOnlyList<SenderDomain>Every domain whose signature verified here, in the order the message carried them.
fromDomainSenderDomain?The domain the message displays as its sender, where it wrote a usable one.
Returns
- SenderAuthentication
The verdict, naming DKIM as the method because it is the only one a delivered message still answers.
Remarks
Every signature is kept for the reason the trusted reading keeps every one the server reported: a message legitimately carries a delivery provider's signature beside its author's, and taking whichever came first would leave the author unestablished on ordinary mail. No SPF domain and no DMARC result accompany it, because neither is answerable from stored bytes — the envelope and the connecting address are gone, and a DMARC result needs the displayed domain's published policy.
Exceptions
- ArgumentNullException
Thrown when
verifiedSigningDomainsis null.- ArgumentException
Thrown when no signature verified, which is not an authenticated message.