# mail

UrbeStack release 0.2.35 API group, 81 operations.

These operations cover mail domains, mailboxes, forwarders, filters, and mailing lists. Webmail uses the API to change a mailbox's own password.

- [GET /botmail](https://urbestack.com/docs/api/get-botmail.md): Get the server's BotMail status and limits
- [GET /botmail/domains](https://urbestack.com/docs/api/get-botmail-domains.md): List domains with local mail and their BotMail status
- [PUT /botmail/domains/{name}](https://urbestack.com/docs/api/put-botmail-domains-name.md): Enable BotMail for a domain or change its BotMail hostname
- [DELETE /botmail/domains/{name}](https://urbestack.com/docs/api/delete-botmail-domains-name.md): Disable BotMail for a domain
- [GET /botmail/keys](https://urbestack.com/docs/api/get-botmail-keys.md): List bot keys visible to the caller
- [GET /botmail/keys/{id}](https://urbestack.com/docs/api/get-botmail-keys-id.md): Get a bot key's rules and login status
- [PATCH /botmail/keys/{id}](https://urbestack.com/docs/api/patch-botmail-keys-id.md): Update a bot key's rules or pause or resume the key
- [DELETE /botmail/keys/{id}](https://urbestack.com/docs/api/delete-botmail-keys-id.md): Revoke a bot key
- [GET /botmail/keys/{id}/activity](https://urbestack.com/docs/api/get-botmail-keys-id-activity.md): List activity for a bot key
- [POST /botmail/keys/{id}/address](https://urbestack.com/docs/api/post-botmail-keys-id-address.md): Issue a new MCP URL for a bot key
- [DELETE /botmail/keys/{id}/address/old](https://urbestack.com/docs/api/delete-botmail-keys-id-address-old.md): Disable a bot key's previous MCP URL
- [GET /botmail/keys/{id}/webhook](https://urbestack.com/docs/api/get-botmail-keys-id-webhook.md): Get a bot key's webhook and delivery history
- [PUT /botmail/keys/{id}/webhook](https://urbestack.com/docs/api/put-botmail-keys-id-webhook.md): Create or update a bot key's webhook
- [DELETE /botmail/keys/{id}/webhook](https://urbestack.com/docs/api/delete-botmail-keys-id-webhook.md): Delete a bot key's webhook
- [POST /botmail/keys/{id}/webhook/resume](https://urbestack.com/docs/api/post-botmail-keys-id-webhook-resume.md): Resume a bot key's paused webhook
- [POST /botmail/keys/{id}/webhook/test](https://urbestack.com/docs/api/post-botmail-keys-id-webhook-test.md): Send an immediate test ping to a bot key's webhook
- [POST /botmail/verify](https://urbestack.com/docs/api/post-botmail-verify.md): Verify a bot key and retrieve its rules
- [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
- [GET /domains/{name}/mail/accounts](https://urbestack.com/docs/api/get-domains-name-mail-accounts.md): List the domain's mailboxes
- [POST /domains/{name}/mail/accounts](https://urbestack.com/docs/api/post-domains-name-mail-accounts.md): Create a mailbox on the domain
- [PATCH /domains/{name}/mail/accounts/{local}](https://urbestack.com/docs/api/patch-domains-name-mail-accounts-local.md): Update a mailbox or end its sessions
- [DELETE /domains/{name}/mail/accounts/{local}](https://urbestack.com/docs/api/delete-domains-name-mail-accounts-local.md): Delete a mailbox
- [GET /domains/{name}/mail/accounts/{local}/bot-keys](https://urbestack.com/docs/api/get-domains-name-mail-accounts-local-bot-keys.md): List a mailbox's bot keys
- [POST /domains/{name}/mail/accounts/{local}/bot-keys](https://urbestack.com/docs/api/post-domains-name-mail-accounts-local-bot-keys.md): Create a bot key for a mailbox
- [POST /domains/{name}/mail/accounts/{local}/webmail](https://urbestack.com/docs/api/post-domains-name-mail-accounts-local-webmail.md): Issue a webmail sign-in ticket for a mailbox
- [GET /domains/{name}/mail/check](https://urbestack.com/docs/api/get-domains-name-mail-check.md): Check the domain's mail DNS records
- [POST /domains/{name}/mail/check/fix](https://urbestack.com/docs/api/post-domains-name-mail-check-fix.md): Apply a fix offered by the domain's mail DNS check
- [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/dkim/rotate](https://urbestack.com/docs/api/post-domains-name-mail-dkim-rotate.md): Rotate the domain's DKIM key
- [GET /domains/{name}/mail/filters](https://urbestack.com/docs/api/get-domains-name-mail-filters.md): List mail filters for the domain and its mailboxes
- [POST /domains/{name}/mail/filters](https://urbestack.com/docs/api/post-domains-name-mail-filters.md): Create a mail filter for the domain or one of its mailboxes
- [PATCH /domains/{name}/mail/filters/{id}](https://urbestack.com/docs/api/patch-domains-name-mail-filters-id.md): Update a mail filter
- [DELETE /domains/{name}/mail/filters/{id}](https://urbestack.com/docs/api/delete-domains-name-mail-filters-id.md): Delete a mail filter from the domain
- [GET /domains/{name}/mail/forwarders](https://urbestack.com/docs/api/get-domains-name-mail-forwarders.md): List the domain's forwarders
- [POST /domains/{name}/mail/forwarders](https://urbestack.com/docs/api/post-domains-name-mail-forwarders.md): Create a forwarder
- [PATCH /domains/{name}/mail/forwarders/{local}](https://urbestack.com/docs/api/patch-domains-name-mail-forwarders-local.md): Replace a forwarder's destinations
- [DELETE /domains/{name}/mail/forwarders/{local}](https://urbestack.com/docs/api/delete-domains-name-mail-forwarders-local.md): Remove a forwarder
- [GET /domains/{name}/mail/greylist](https://urbestack.com/docs/api/get-domains-name-mail-greylist.md): List sender domains with mail currently held by greylisting for this domain
- [POST /domains/{name}/mail/greylist/pass](https://urbestack.com/docs/api/post-domains-name-mail-greylist-pass.md): Release greylisted mail from a sender domain
- [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
- [GET /domains/{name}/mail/lists](https://urbestack.com/docs/api/get-domains-name-mail-lists.md): List the domain's allow, block and nogreylist entries
- [POST /domains/{name}/mail/lists](https://urbestack.com/docs/api/post-domains-name-mail-lists.md): Add an entry to the domain's allow, block or nogreylist list
- [POST /domains/{name}/mail/lists/import](https://urbestack.com/docs/api/post-domains-name-mail-lists-import.md): Import entries into the domain's allow, block or nogreylist list
- [DELETE /domains/{name}/mail/lists/{id}](https://urbestack.com/docs/api/delete-domains-name-mail-lists-id.md): Delete an entry from the domain's mail sender lists
- [PUT /domains/{name}/mail/smarthost](https://urbestack.com/docs/api/put-domains-name-mail-smarthost.md): Set the smarthost for the domain's outgoing mail
- [DELETE /domains/{name}/mail/smarthost](https://urbestack.com/docs/api/delete-domains-name-mail-smarthost.md): Remove the domain's smarthost
- [GET /mail](https://urbestack.com/docs/api/get-mail.md): Get the server's mail stack status and configuration
- [GET /mail/accounts/{address}/activity](https://urbestack.com/docs/api/get-mail-accounts-address-activity.md): Get a mailbox's activity report
- [GET /mail/addresses](https://urbestack.com/docs/api/get-mail-addresses.md): List outgoing mail IP addresses and their reverse DNS names
- [GET /mail/check](https://urbestack.com/docs/api/get-mail-check.md): Check the server hostname's public mail records and outbound reverse DNS
- [POST /mail/check/fix](https://urbestack.com/docs/api/post-mail-check-fix.md): Apply a fix from the server hostname's mail record check
- [GET /mail/greylist](https://urbestack.com/docs/api/get-mail-greylist.md): List messages deferred by greylisting
- [POST /mail/greylist/{id}/pass](https://urbestack.com/docs/api/post-mail-greylist-id-pass.md): Release a greylisted message for its next delivery attempt
- [POST /mail/install](https://urbestack.com/docs/api/post-mail-install.md): Install and start the mail stack
- [GET /mail/lists](https://urbestack.com/docs/api/get-mail-lists.md): List entries in the server-wide mail sender lists
- [POST /mail/lists](https://urbestack.com/docs/api/post-mail-lists.md): Add an entry to a server-wide mail sender list
- [POST /mail/lists/import](https://urbestack.com/docs/api/post-mail-lists-import.md): Import entries into a server-wide mail sender list
- [DELETE /mail/lists/{id}](https://urbestack.com/docs/api/delete-mail-lists-id.md): Remove an entry from a server-wide mail sender list
- [GET /mail/log](https://urbestack.com/docs/api/get-mail-log.md): Read recent or newly appended mail log lines
- [GET /mail/queue](https://urbestack.com/docs/api/get-mail-queue.md): List messages in the Postfix queue
- [POST /mail/queue/delete](https://urbestack.com/docs/api/post-mail-queue-delete.md): Delete queued messages by queue ID or sender
- [POST /mail/queue/flush](https://urbestack.com/docs/api/post-mail-queue-flush.md): Ask Postfix to retry delivery of every queued message immediately
- [GET /mail/queue/{id}](https://urbestack.com/docs/api/get-mail-queue-id.md): Get a queued Postfix message and its delivery logs
- [DELETE /mail/queue/{id}](https://urbestack.com/docs/api/delete-mail-queue-id.md): Delete a message from the Postfix queue
- [GET /mail/queue/{id}/deliver](https://urbestack.com/docs/api/get-mail-queue-id-deliver.md): Get the progress of a traced delivery attempt
- [POST /mail/queue/{id}/deliver](https://urbestack.com/docs/api/post-mail-queue-id-deliver.md): Request immediate delivery of a queued message
- [POST /mail/queue/{id}/hold](https://urbestack.com/docs/api/post-mail-queue-id-hold.md): Hold a queued message
- [GET /mail/queue/{id}/message](https://urbestack.com/docs/api/get-mail-queue-id-message.md): Read the full contents of a queued message
- [POST /mail/queue/{id}/release](https://urbestack.com/docs/api/post-mail-queue-id-release.md): Release a held message back into the queue
- [POST /mail/self/password](https://urbestack.com/docs/api/post-mail-self-password.md): Change a mailbox's password using its current credentials
- [POST /mail/settings](https://urbestack.com/docs/api/post-mail-settings.md): Save one or more mail settings together
- [PUT /mail/smarthost](https://urbestack.com/docs/api/put-mail-smarthost.md): Set the server's smarthost for outgoing mail
- [DELETE /mail/smarthost](https://urbestack.com/docs/api/delete-mail-smarthost.md): Remove the server's smarthost
- [GET /mail/stats](https://urbestack.com/docs/api/get-mail-stats.md): Get mail statistics and the Postfix queue size
- [GET /mail/trace](https://urbestack.com/docs/api/get-mail-trace.md): Search the mail logs or trace a single message
- [GET /mail/trace/by-message-id/{mid}](https://urbestack.com/docs/api/get-mail-trace-by-message-id-mid.md): Trace a message by its Message-ID
- [GET /mail/trace/reverse](https://urbestack.com/docs/api/get-mail-trace-reverse.md): Look up reverse DNS names for IP addresses
- [GET /mail/trace/{qid}](https://urbestack.com/docs/api/get-mail-trace-qid.md): Trace a message by its queue ID
- [POST /mail/webmail/release](https://urbestack.com/docs/api/post-mail-webmail-release.md): Release a webmail sign-in ticket at logout

Every operation of the group in one file: https://urbestack.com/docs/api/group/mail/full.md
