dms-mcp
v0.1.2MCP server for administering docker-mailserver via its setup CLI
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_accounts
List all mailboxes with their quota usage and aliases.
add_account
Create a mailbox. If no password is given, a strong one is generated and returned. The password is passed over stdin, never on the command line.
| Parameter | Type | Description |
|---|---|---|
address * | string | |
password |
update_password
Change a mailbox password. If none is given, a strong one is generated and returned.
| Parameter | Type | Description |
|---|---|---|
address * | string | |
password |
delete_account
Delete a mailbox account. delete_mail=False keeps the stored mail on disk; True removes it permanently.
| Parameter | Type | Description |
|---|---|---|
address * | string | |
delete_mail | boolean |
list_restrictions
List addresses blocked from sending or receiving. direction: 'send' or 'receive'.
| Parameter | Type | Description |
|---|---|---|
direction * | string |
restrict_account
Block (restrict=True) or unblock (restrict=False) an address from sending or receiving. direction: 'send' or 'receive'.
| Parameter | Type | Description |
|---|---|---|
address * | string | |
direction * | string | |
restrict | boolean |
list_aliases
List all aliases and their recipients.
add_alias
Forward `alias` (address, or @domain for a catch-all) to `recipient`.
| Parameter | Type | Description |
|---|---|---|
alias * | string | |
recipient * | string |
delete_alias
Remove `recipient` from `alias`.
| Parameter | Type | Description |
|---|---|---|
alias * | string | |
recipient * | string |
set_quota
Set a mailbox quota, e.g. '500M', '2G' or '0' for unlimited.
| Parameter | Type | Description |
|---|---|---|
address * | string | |
quota * | string |
delete_quota
Remove a mailbox's custom quota (falls back to the server default).
| Parameter | Type | Description |
|---|---|---|
address * | string |
generate_dkim
Generate DKIM keys (all domains if none given). Prints the DNS TXT record to publish. The mail server usually needs a restart to start signing with new keys.
| Parameter | Type | Description |
|---|---|---|
domain | ||
keysize | integer | |
selector | string |
show_dkim_record
Show the DKIM public-key DNS record for a domain (OpenDKIM/Rspamd default paths).
| Parameter | Type | Description |
|---|---|---|
domain * | string | |
selector | string |
fail2ban_status
Show currently banned IPs per jail.
fail2ban_ban
Ban an IP address or CIDR range.
| Parameter | Type | Description |
|---|---|---|
ip * | string |
fail2ban_unban
Unban an IP address or CIDR range.
| Parameter | Type | Description |
|---|---|---|
ip * | string |
mail_log
Tail the mail log (Postfix/Dovecot). Optionally filter with a fixed string (case-insensitive).
| Parameter | Type | Description |
|---|---|---|
grep | ||
lines | integer |
mail_queue
Show the Postfix mail queue (deferred/held messages).
flush_queue
Retry delivery of all queued messages now.
server_status
Check that the container is reachable and show service status.