Deploy
Run a production chainmail daemon as its own user, with the NixOS module, under systemd on other Linux hosts, or under launchd on macOS.
Health checks and triage
Check that a production daemon is running, reachable and healthy, and find the page for a failing call.
Start, stop and restart
Start, stop and restart the daemon, what a clean shutdown does, and why a daemon refuses to start.
Auth
Bring an account back after its credentials were rejected, log in again with OAuth2, and rotate passwords and client secrets.
Upgrades
Upgrade a production daemon, check that the upgrade worked, and roll back when it did not.
Backup and restore
What to back up, how to take a consistent copy of state.db, how to keep the vault key, and how to restore without losing or corrupting data.
Watching in operation
Read the sync status, fix folders that reconnect or fail, manage watch groups and the event log, and run long-lived watchers.
The cache in operation
Read the cache's status, and handle a cache that is filling, out of budget, over its size cap, corrupt or on a full disk.
Policy and sends
Find and release held sends, settle a send whose outcome is unknown, and handle refused expunges and folder deletes.
Connection limits
How the daemon measures each account's IMAP connection limit and sizes its pool, and what to do when a server keeps refusing connections.
Items in operation
Check the standing Admin items, undo a delete, fix a thread link that shows unavailable, and handle item searches the cache cannot answer yet.