# MailDomainPatch

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 named type of the API.

## Fields

- `account_hourly_limit` (integer, 0 to 1000000 or null): Administrator-only default hourly sending limit for each mail account in the domain.
- `dkim` (boolean): Whether to sign the domain's outgoing mail with DKIM. Set to false if the domain uses external DNS and its zone lacks the DKIM record.
- `greylisting` (boolean)
- `hourly_limit` (integer, 0 to 1000000 or null): Administrator-only limit on outgoing messages per hour for the domain. Use null for the server default or 0 for no limit.
- `junk_folder` (boolean): Whether messages marked as spam are moved to Junk.
- `junk_score` (number or null): Minimum score for marking a message as spam, or null for the server default. Customers must choose a score within the administrator's allowed range.
- `outbound_ip` (string, up to 45 characters or null): Administrator-only setting for which of the server's IP addresses to use for outgoing mail. Use null for the server default.
- `outgoing` (boolean): Administrator-only setting that blocks all outgoing mail for the domain when set to false.
- `reject_score` (number or null): Minimum spam score at which a message is rejected.
- `routing` (string, one of local, remote): With local, this server hosts the mailboxes and the domain's DNS zone contains the mail records. With remote, mail is hosted elsewhere.
- `spam` (boolean): Whether spam filtering is enabled for the domain.
- `web` (boolean): Whether the domain's website can send mail.

## Used by

- [PATCH /domains/{name}/mail](https://urbestack.com/docs/api/patch-domains-name-mail.md): Update the domain's mail settings and spam policy
