pmg_transport_create
Creates a mail transport rule to route email for a domain to a specified relay host and port. Dry-run by default; set confirm=true to apply.
Instructions
MUTATION (LOW): create a mail transport rule. Dry-run by default. confirm=True to execute. Needs PROXIMO_PMG_* config.
PMG 9.1 live-verified path via pmgsh ls: POST /config/transport. domain: destination domain. host: next-hop relay host. port: TCP port 1-65535 (default 25). protocol: smtp|lmtp (default smtp). use_mx: use MX lookup for the host (default True).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| port | No | ||
| domain | Yes | ||
| use_mx | No | ||
| comment | No | ||
| confirm | No | ||
| protocol | No | smtp | |
| 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 |