pmg_doctor
Check PMG connectivity and credential permissions by querying /version and /access/users endpoints. Run this preflight test first when diagnosing Proxmox Mail Gateway issues.
Instructions
READ-ONLY: PMG connectivity + credential/permission preflight — checks the global /version endpoint and /access/users. Needs PROXIMO_PMG_* config.
Returns a dict with "version" and "permissions" keys; a successful call proves connectivity and credentials together. Run this first when diagnosing PMG trouble, before other pmg_* tools. PMG has no /access/permissions endpoint (that is PVE-only); "permissions" here is /access/users.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | PMG node name; defaults to the configured node. | |
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |