Enable or disable the catch-all of a mailbox
eurodns_email_set_catchallToggle the catch-all setting to control whether emails to unknown addresses at a domain are delivered to the mailbox or refused, managing unsolicited mail.
Instructions
Turns the catch-all on (enabled: true) or off (enabled: false) for an email subscription and returns the updated subscription. On, every address at the domain without a mailbox or alias of its own is delivered to this mailbox, which brings more unsolicited mail; off, such mail is refused. For one named address use eurodns_email_set_alias.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric id of the email subscription, from the list eurodns_email_get_subscription returns when called without an 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. |