Skip to content

Get started ​

After the site is up, follow this order to receive mail. The admin address is only your login identity. It is not created as a hosted mailbox.

Add a domain ​

  1. Open Settings → Domains
  2. Enter the suffix you want to receive on, for example example.com, then Add
  3. Enable it and Save

The first enabled domain is the default suffix. You can add more and turn unused ones off.

Domain settings

The site hostname is not the mailbox suffix. Binding mail.example.com to the Worker does not receive mail for example.com. Add the receiving domain here.

Point Cloudflare at the Worker ​

After the domain is saved, send inbound mail to the Worker. See Dashboard deploy · Receiving mail. The important step is changing Email Routing Catch-all from Drop to Send to a Worker, target xi-mail.

Add the MX / TXT records on the receiving domain, not on the website hostname.

Create a mailbox ​

  1. Go back to the inbox and click Add mailbox in the left list
  2. Enter a prefix (hello) and pick the domain you just enabled
  3. Click Add. The address is [email protected]

Add-mailbox and multi-mailbox are on by default, so one account can hold several addresses. Turn those switches off under Settings → Registration if regular users should not create their own.

Inbox

Addresses that were never created are rejected by default. Turn on Accept unknown recipients in Settings only if you want mail to any prefix.

[email protected] is delivered to [email protected]. You do not need a separate mailbox.

Send a test ​

Send a message from an outside inbox to the new address, then refresh. If it shows up, the domain, routing, and mailbox are all working.

If it does not arrive:

CheckWhat to look for
Domain enabled and savedSettings → Domains, switch is on
Catch-all targets xi-mailDrop discards the message
Mailbox already createdUnknown addresses are rejected by default
Correct suffix[email protected], not the website hostname
Receiving is enabledSettings → Registration

Sending (optional) ​

Receiving does not need a send provider. To compose from the web UI, add Resend, QueenSMTP, or SendFlare, or bind Cloudflare Send Email as EMAIL.

MIT License · Based on cloud-mail