pmg_statistics_mailcount
Retrieve per-bucket mail count statistics from Proxmox Mail Gateway for a specified time range and bucket size.
Instructions
Get per-bucket mail count statistics (read). Needs PROXIMO_PMG_* config.
PMG 9.1 live-verified path via pmgsh ls: GET /statistics/mailcount. timespan: histogram bucket size in seconds, 3600–31622400 (default 3600 = 1 hour). Maps start/end Unix epoch → starttime/endtime query params.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| start | No | ||
| timespan | No | ||
| 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 |