# MailDomain

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 or null)
- `accounts` (array of MailAccount)
- `certificate` (object)
  - `covers_mail` (boolean)
  - `covers_webmail` (boolean)
  - `installed` (boolean)
- `check_resolvers` (array of string): DNS resolvers queried by the record check, in query order (mail.check_resolvers).
- `default_address` (object)
- `delegated_here` (string, one of yes, no, unknown)
- `dkim` (array of object): DKIM records to publish for the active selector and, after rotation, the previous selector.
- `dkim_selector` (string)
- `domain` (string)
- `filters` (array of MailFilter)
- `forwarders` (array of MailForwarder)
- `hold` (integer): 1 if the domain's mail is on hold because its DNS did not point to this server when it was added and no mail routing was selected afterward. Sending servers are asked to retry until the DNS check finds that the domain's nameservers or an MX record point to this server and enables mail (mail.unpointed_domains).
- `hold_checked_at` (string or null)
- `hold_ended_at` (string or null): Time the DNS check enabled mail, retained until the notification is dismissed.
- `hold_ended_by` (string or null): How the domain pointed to this server when the hold ended. The value is ns for nameservers or mx for an MX record.
- `hold_nameservers` (array of string): Nameservers the domain should use while its mail is on hold.
- `hold_since` (string or null): Time the hold began. The DNS check runs hourly for the first five days and daily thereafter.
- `hourly_limit` (integer or null)
- `lists` (array of MailListEntry)
- `outbound_ip` (string or null)
- `outgoing_suspended` (integer)
- `policy` (MailPolicy)
- `public_nameservers` (array of string)
- `records` (array of MailZoneRecord): Mail records in the domain's DNS zone on this server.
- `routing` (string)
- `server_addresses` (array of string)
- `server_policy` (object)
- `smarthost` (MailSmarthost or null)
  - `has_password` (boolean)
  - `host` (string)
  - `port` (integer)
  - `tls` (boolean)
  - `user` (string)
- `spam` (object): Spam settings explicitly set for the domain. The policy field contains the effective policy.
- `user` (string)
- `web_sending` (integer)
- `webmail_url` (string or null)
- `zone` (string or null)

## Used by

- [GET /domains/{name}/mail](https://urbestack.com/docs/api/get-domains-name-mail.md): Get the domain's mail settings and configuration status
- [PATCH /domains/{name}/mail](https://urbestack.com/docs/api/patch-domains-name-mail.md): Update the domain's mail settings and spam policy
- [PUT /domains/{name}/mail/default-address](https://urbestack.com/docs/api/put-domains-name-mail-default-address.md): Set how the domain handles mail for unknown recipients
- [POST /domains/{name}/mail/hold/check](https://urbestack.com/docs/api/post-domains-name-mail-hold-check.md): Check public DNS to lift a domain's mail hold
- [DELETE /domains/{name}/mail/hold/note](https://urbestack.com/docs/api/delete-domains-name-mail-hold-note.md): Dismiss the notice that a DNS check activated a domain's mail
