Table of Contents

Class ProviderSpamHeaderFields

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

The header fields a provider's own spam verdict is read from.

public static class ProviderSpamHeaderFields
Inheritance
ProviderSpamHeaderFields
Inherited Members

Remarks

The set is deliberately narrow. These four fields have documented, stable meanings — SpamAssassin defined them and the mail servers that score before delivery write them in the same shape — so a value read from one of them means what this system takes it to mean. A provider-specific report field such as an antispam confidence level is a different grammar per vendor, and reading a verdict out of one on a guess would file somebody's mail on a misunderstanding.

The set is shared between the adapter that selects headers out of raw MIME and the stage that interprets them, so neither can come to recognize a field the other does not.

Fields

SpamFlag

The field carrying a plain yes-or-no verdict, written as YES or NO.

SpamLevel

The field carrying the score as a run of asterisks, one per whole point.

SpamScore

The field carrying the score alone.

SpamStatus

The field carrying the verdict together with the score and the threshold it was judged against.

Properties

All

Gets every field a provider verdict is read from.

Methods

IsRecognized(string?)

Reports whether a header field carries a provider's spam verdict.