Home of the infodancer organization: the cross-cutting design documents behind our self-hosted, federated mail and identity stack.
For the project overview and the active repositories, see the organization profile. The mail server suite lives in maildancer.
Living design docs -- the reasoning behind the architecture, not only its current state. Read the relevant one before changing the matching subsystem.
| Document | What it covers |
|---|---|
| mail-security-model | Process separation, privilege model, uid/gid allocation, the pipe protocol |
| encryption-design | At-rest encryption: key model, delivery and retrieval points, search without a decrypted cache |
| keyring-design | Client keyring and key-encryption-key (KEK): client-generated keys, wrap-slots, and the off/on/escrow trust postures |
| oidc-federation-design | Auth stack design and security model (read before touching auth or webauth) |
| federated-identity-stack | Identity federation overview |
| next-gen-messaging-protocol | SCMP/SDMP design: end-to-end encryption, sender stores and recipient pulls |
| protocol-outlines | Open protocol problems and options, ahead of specification |
| session-manager-design | Session manager architecture |
| mail-session-deliver-merge | Merging the mail-session and delivery agents |
| queue-design | Unified on-disk outbound queue |
| outbound-transport-routing | Per-sender-domain delivery transport routing |
| rcpt-rejection-design | Recipient rejection strategy |
| dsn-bounce-design | DSN and bounce handling |
| uid-persistence-design | UID allocation and persistence |
| deployment-filesystem | Config and data filesystem split, Docker volume strategy |
| web-portfolio-architecture | Reusable Go web modules and the shared UI layer |
Issues and pull requests welcome. Docs use ASCII punctuation only (no smart
quotes, em-dashes, or ellipsis glyphs). After cloning, enable the local guard
with git config core.hooksPath .githooks; CI enforces the same rule on push
and pull requests via the shared ascii-punctuation action.