Enable or disable the catch-all of a mailbox
eurodns_email_set_catchallToggle catch-all for an email subscription to control unknown address delivery. Enable to route all unmatched mail to the inbox, or disable to refuse it.
Instructions
Turns the catch-all on (enabled: true) or off (enabled: false) for the email subscription id and returns the updated subscription. On, every address at the domain without a mailbox or alias of its own is delivered here, which brings more unsolicited mail; off, such mail is refused. For one named address use eurodns_email_set_alias instead. The subscription id comes from eurodns_subscription_get for product email.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric id of the email subscription, from eurodns_subscription_get with product email and no id. | |
| enabled | Yes | true to deliver every unknown address at the domain here, false to stop. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Response body as returned by the API. | |
| status | Yes | Upstream HTTP status code. |