pmg_mynetworks_add
Add a network CIDR to the Proxmox Mail Gateway trusted relay list. Dry-run prevents accidental changes; set confirm=True to execute.
Instructions
MUTATION (LOW): add a CIDR to the PMG mynetworks trusted relay list. Dry-run by default. confirm=True to execute. Needs PROXIMO_PMG_* config.
PMG 9.1 live-verified path via pmgsh ls: POST /config/mynetworks. cidr: network in CIDR notation (e.g. '10.0.0.0/8'). Only add CIDRs you control.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cidr | Yes | ||
| comment | No | ||
| confirm | 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 |