Skip to content

mxr connect

Generated from mxr connect --help. After editing crates/daemon/src/cli/, update and review the snapshots with scripts/cargo-test -p mxr --test integration cli_help::, then rebuild site/.

Save an HTTPS mailbox connection, inspect it, or switch this installation to local

mxr connect [OPTIONS] [URL]
Flag Description
[URL]
Flag Description
--allow-send Request host-approved draft, attachment and send access; default pairing is read-only
--allow-triage Request host-approved mail organization, modes and todo access
--allow-ai Request host-approved AI mail features; host privacy policy still applies
--cancel-pairing Cancel only the pending pairing, preserving the selected registration
--restart-pairing Retire a pending pairing and request a fresh challenge at this URL
--forget-cleanup Forget the previewed cleanup intents locally; the old host may still have them registered
--local
--status
--name <NAME> [default: “mxr client”]
--dry-run
--confirm
--format <FORMAT> [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Preview or save this installation’s remote mailbox connection. Default pairing is read-only. Request independent host approval with –allow-send for compose/send preferences and reviewed sending, –allow-triage for mail organization and sync, and –allow-ai for mail intelligence. Repeat the command with the same grants to claim it. Cancel or restart a pending challenge without changing the selected mailbox. –forget-cleanup drops previewed local retry intents without claiming remote revocation. Switching to local retires only this installation and retains cleanup when the host is offline.

Terminal window
mxr connect https://mail-host.example-tailnet.ts.net:8443 --name "My Mac" --dry-run
mxr connect https://mail-host.example-tailnet.ts.net:8443 --name "My Mac" --confirm
mxr connect https://mail-host.example-tailnet.ts.net:8443 --allow-send --allow-triage --allow-ai --dry-run
mxr connect https://mail-host.example-tailnet.ts.net:8443 --allow-send --allow-triage --allow-ai --confirm
mxr connect --status --format json
mxr connect --cancel-pairing --dry-run
mxr connect --cancel-pairing --confirm
mxr connect https://mail-host.example-tailnet.ts.net:8443 --allow-send --restart-pairing --dry-run
mxr connect https://mail-host.example-tailnet.ts.net:8443 --allow-send --restart-pairing --confirm
mxr connect --forget-cleanup --dry-run
mxr connect --forget-cleanup --confirm
mxr connect --local --dry-run
mxr connect --local --confirm