pmg_ruledb_rule_from_attach
Attach a sender (who) group to a PMG RuleDB rule. Dry-run by default; executes mutation with confirm=True.
Instructions
MUTATION (MEDIUM): attach a 'from' (sender/who) group to a PMG RuleDB rule. Dry-run by default.
ogroup comes from pmg_who_groups_list; list a rule's current 'from' groups with pmg_ruledb_rule_from_list. Additive — only affects mail flow once the rule is active. confirm=True executes and returns {"status": "ok", "result": <PMG's raw API response>}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_ | Yes | Rule ID to attach the group to. | |
| ogroup | Yes | Numeric 'who' group ID from pmg_who_groups_list to attach as the 'from' condition. | |
| 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 |