pmg_ruledb_rule_update
Modify a Proxmox Mail Gateway RuleDB rule. Update optional fields such as name, priority, and conditions; requires explicit confirmation to apply changes.
Instructions
MUTATION (MEDIUM): update a PMG RuleDB rule configuration. Dry-run by default. confirm=True to execute. Needs PROXIMO_PMG_* config. PMG 9.1 pmgsh-verified path: PUT /config/ruledb/rules/{id}/config. id_: rule ID (positive integer string, e.g. '100'). All other fields are optional; only non-None values are sent. WARNING: setting active=True activates the rule and begins live mail processing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_ | Yes | ||
| name | No | ||
| active | No | ||
| to_and | No | ||
| confirm | No | ||
| from_and | No | ||
| priority | No | ||
| what_and | No | ||
| when_and | No | ||
| direction | No | ||
| to_invert | No | ||
| from_invert | No | ||
| what_invert | No | ||
| when_invert | 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 |