Table of Contents

Enum MailAccountCustody

Namespace
MailFathom.Domain.Accounts
Assembly
MailFathom.Domain.dll

What an administrator has asked MailFathom to do with one mail account's mailbox.

public enum MailAccountCustody

Fields

HoldMailbox = 1

MailFathom holds the mailbox and empties the source of everything it durably holds.

MirrorSource = 0

The source server keeps the mailbox and MailFathom keeps a copy of it, which is what every account has until somebody switches it.

Remarks

This is the value somebody asked for; MailAccountCustodyPhase is how far the work of granting it has got. The two are separate because a switch in either direction is a period of background work rather than an instant, and a requested value that also had to say how far it had got could not say either thing clearly.

It is never a configuration key. An administrator switches it for one user's one mail account through a command of its own, and what was asked for is stored in the database beside the account, because emptying somebody's source server is a deliberate act against one mailbox rather than a setting copied between deployments. See ADR 0034.