pmg_quarantine_action
Apply actions (deliver, delete, mark-seen/unseen, blocklist, welcomelist) to quarantined messages, with dry-run planning before execution.
Instructions
MUTATION (MEDIUM; HIGH for action='delete' — permanent, irreversible). Apply an action to quarantined message(s). Dry-run by default; confirm=True to execute. Needs PROXIMO_PMG_* config.
action: deliver|delete|mark-seen|mark-unseen|blocklist|welcomelist. Get mail_ids from pmg_quarantine_spam (or the virus/attachment quarantine lists). Dry-run returns a PLAN; confirm=True executes and returns {"status": "ok", "result": ...}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to apply: deliver|delete|mark-seen|mark-unseen|blocklist|welcomelist. | |
| confirm | No | False (default) returns a dry-run PLAN; True executes the mutation. | |
| mail_ids | Yes | Single quarantined mail ID, or a comma-separated list of IDs, to act on. | |
| 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 |