List Mail Domains
hestia_list_mail_domainsLists all mail domains for a HestiaCP user and returns antispam, antivirus, DKIM, and catchall flags to support discovery and audit.
Instructions
List all mail domains owned by a HestiaCP user with antispam, antivirus, DKIM, and catchall flags via v-list-mail-domains. Use when discovering mail domains for a user; prefer hestia_list_mail_accounts to list mailboxes under one domain or hestia_get_mail_domain_dkim_dns for DKIM DNS records. Returns { ok, targetId, command, data (map keyed by mail domain) }.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"user": "<user>"
},
"name": "hestia_list_mail_domains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | HestiaCP account username. | |
| targetId | No | Configured target identifier (defaults to "default"). |