Enum SpamScanOutcome
- Namespace
- MailFathom.Application.Spam.Scanning
- Assembly
- MailFathom.Application.dll
How a scan of one message ended.
public enum SpamScanOutcome
Fields
ContentTooLarge = 2The message was larger than the scanner accepts, so nothing was sent to it.
Distinct from being unavailable because it is a property of the message rather than of the deployment: retrying it will produce the same answer, and nothing an operator does to the sidecar changes that.
Scored = 0The scanner answered with a score, the threshold it judged against, and what fired.
The scanner could not be reached, did not answer within its bound, or answered unintelligibly.
Remarks
A scan is a secondary signal over content that is already local, so none of these is an error a caller reports upwards: a classification reached without the scanner is a weaker classification rather than a failed one. That is why this is a result rather than an exception — the immediate caller acts on it and continues.