migadu-cli logo

migadu-cli

The maintained command line for Migadu: domains, mailboxes, aliases, identities, forwardings and rewrites from the terminal. API keys come from your password manager.

cargo install --git https://github.com/ifthenelse/migadu-cli
migadu mailboxes list -d example.org

Or download a ready-made binary for macOS, Linux or Windows from the latest release.

export MIGADU_EMAIL=you@example.org
export MIGADU_API_KEY_REF="op://Private/Migadu/credential"
migadu tier
migadu mailboxes create -d example.org -f local_part=alice -f name=Alice -f password=<secret>

Works with 1Password, Bitwarden, pass, KeePassXC, macOS Keychain and Linux Secret Service.

Source, docs and issues on GitHub