Files
stack/docs/docs/cli/mail.md

2.6 KiB

title, sidebar_position
title sidebar_position
stack mail 91

stack mail

Usage: stack mail [OPTIONS] COMMAND [ARGS]...                                  
                                                                                
 Maddy mail server (DO + Resend smarthost).                                     
                                                                                
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --help          Show this message and exit.                                  │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────╮
│ provision         End-to-end idempotent: up → wait → DNS → DKIM → smarthost  │
│                   → git env.                                                 │
│ up                Adopt-or-create the mail droplet. Idempotent.              │
│ down              Destroy the mail droplet. Idempotent no-op if none exists. │
│ status            Show droplet state from DO + PTR check.                    │
│ dns               Upsert mail DNS records in Cloudflare. Idempotent.         │
│ dkim-export       Publish Maddy's DKIM public key to Cloudflare. Idempotent. │
│ attach-smarthost  Register at Resend, push DNS, install smarthost on         │
│                   droplet.                                                   │
│ rotate-creds      Mint a new password for *user*@fhirworx.io and push to     │
│                   droplet.                                                   │
│ seed-mailboxes    Ensure the standard set of mailboxes exists (postmaster,   │
│                   git, cmsupdates).                                          │
│ wire-git          Write .state/git/mailer.env from the mail droplet's        │
│                   credentials.                                               │
╰──────────────────────────────────────────────────────────────────────────────╯