pmg_mynetworks_add
Add a CIDR to the trusted relay list in Proxmox Mail Gateway, bypassing spam filtering for that network. Dry-run by default; 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.
Only add CIDRs you control — trusted networks bypass spam filtering. Additive — reverse with pmg_mynetworks_remove. Dry-run returns a PLAN; confirm=True executes and returns {"status": "ok", "result": ...}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cidr | Yes | Network in CIDR notation to trust as an internal relay, e.g. '10.0.0.0/8'. | |
| comment | No | Optional free-text comment stored with the mynetworks entry. | |
| confirm | No | False (default) returns a dry-run PLAN; True executes the mutation. | |
| 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 |