Create an approved Sieve filter
create_sieve_filterApplies a user-approved Sieve filter preview by token; Proton Mail Bridge refuses and changes nothing, so use the preview script or add_rule instead.
Instructions
Create the previewed Proton Sieve filter; only call after explicit approval of its preview. With Proton Mail Bridge, the backend this server uses, it always refuses and changes nothing, so do not call it there.
Instead show the script from preview_sieve_filter for the user to add in Proton's own filter settings (Add sieve filter), or use preview_add_rule and add_rule for a rule this server applies. Proton Mail Bridge has no Sieve or filter interface and this server has no other apply path; the refusal comes before any form and leaves the token unused.
It takes only preview_sieve_filter's token. Where a backend could apply it, the user would confirm the exact script in the client's form, and it would add one filter that files later matching mail, never replacing or removing one, and return log_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Single-use token from the preview the user approved. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||