Table of Contents

Class SpamClassificationSettings

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

What an operator decided about spam classification.

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

Remarks

Every switch is off in Disabled, which is what a deployment that configured nothing runs with: no classification is attempted, no scanner is consulted, and no path is added for an operator who asked for none of it.

Fields

DefaultMaximumClassificationWait

The wait a verdict is allowed when an operator names none.

Properties

Disabled

Gets the settings a deployment that configured nothing runs with.

IsEnabled

Gets whether classification runs at all.

MaximumClassificationWait

Gets how long a message may wait on a verdict before derived work runs for it unclassified.

Profile

Gets the identity of the terms a verdict reached under these settings was decided by.

ScannedFolderAliases

Gets the folder aliases classification runs over, in a normalized order.

ScannerThreshold

Gets the score at or above which a scanner's verdict is spam, or null to keep the scanner's own.

UsesScanner

Gets whether a configured scanner is consulted after the deterministic stage.

Methods

Covers(MailFolderAlias)

Reports whether classification runs over one folder.

Create(bool, bool, IEnumerable<MailFolderAlias>, double?, TimeSpan?)

Builds the settings an operator's answers describe.