mxhook domain
Manage email domains that MXHook accepts mail for.
Subcommands
domain add
Register a domain for email ingestion.
bash
mxhook domain add <domain-name> [flags]Arguments
| Argument | Required | Description |
|---|---|---|
domain-name | Yes | The domain to register (e.g., yourdomain.com) |
Flags
| Flag | Default | Description |
|---|---|---|
--api-url | http://localhost:8080 | MXHook API URL |
--api-key | — | API authentication key |
Examples
Register a domain:
bash
mxhook domain add yourdomain.comRegister with explicit API connection:
bash
mxhook domain add yourdomain.com \
--api-url http://mxhook.internal:8080 \
--api-key your-secret-key