# Custom domains > Use addresses on a domain you own. Connect Cloudflare, Vercel or DigitalOcean and approve the changes, or add the records by hand wherever your DNS is. Source: https://dropline.cleforyx.com/docs/custom-domains · Section: Your domain · All docs: https://dropline.cleforyx.com/llms.txt ## How it works Add your domain under **Settings → Your domains**. Dropline then walks it through four stages, and the domain page always shows where it is: | Status | What’s happening | | --- | --- | | **Confirm ownership** | Prove the domain is yours, with a TXT record or a Cloudflare, Vercel or DigitalOcean token. | | **Add records** | Ownership is proven. Now the mail records need to go in. | | **Checking DNS** | Records are in; we’re waiting for them to be visible everywhere. | | **Active** | Receiving and sending both work. The domain page offers your first mailbox on it; add more under **Settings → Mailboxes**. | After a change, we keep re-checking your records in the background for about three days, so you can close the tab. If a working domain’s records later break, it shows **Needs attention**. You can add a domain during sign-up (**Use my own domain instead**) or any time later. You don’t need a `@cleforyx.com` address first, or at all. > [!NOTE] > **Receiving before sending** > Receiving works as soon as your MX record is right. Sending from the domain is switched on only once **MX, SPF and DKIM** all check out, so your mail doesn’t land in spam. ## Step 1: prove you own it Nothing about your domain is set up on our mail server until ownership is proven. There are two ways: - **A TXT record.** Add a TXT record named `_cleforyx-verify` (on your domain) with the value shown in the app, then press **Check now**. - **Connect your DNS provider.** A Cloudflare, Vercel or DigitalOcean token that can edit the zone proves ownership by itself. ## Connect Cloudflare If your domain’s DNS is on Cloudflare, Dropline can add every record for you. You see each change first, and nothing happens until you approve. 1. **Open the token link** Press **Connect Cloudflare** on the domain page. It opens Cloudflare’s **Create token** page with the right permissions already chosen: **Zone → DNS → Edit** and **Zone → Zone → Read**. 2. **Limit it to your domain** Under **Zone Resources**, choose **Include → Specific zone →** your domain. Create the token and copy it. 3. **Paste it into Dropline** Paste the token and press **Review changes**. We read your current records and prepare a plan: what we’ll add, what we’ll change, and anything that conflicts. 4. **Review, then approve** Every record is listed. Press **Approve and apply** to apply exactly that plan. If anything changed in between, we stop and show you a fresh plan. ### Conflicts We only ever touch the records mail needs. Two kinds of existing records can get in the way, and we never change them unless you tick them: - **An old MX record** (for example from a previous email host). While it’s there, some mail may still go to the old host. - **A second SPF record.** A domain may only have one. We merge our `include:` into your existing SPF instead of adding another. ### Undo Right after applying, **Undo these changes** removes what we created and puts back what we edited or removed. Because we never store your Cloudflare token, the button works during that visit (undo is accepted for up to **30 days**, with the token). If applying fails half-way, we roll back automatically. > [!NOTE] > Your Cloudflare token is used for that one visit and never saved. You can delete it in Cloudflare as soon as your domain is active. > [!TIP] > Mail records are always set to **DNS only** (grey cloud). Cloudflare’s proxy can’t carry email. ## Connect DigitalOcean or Vercel If your domain’s DNS is at **DigitalOcean** or **Vercel**, the domain page offers **Connect DigitalOcean** / **Connect Vercel** instead: create a token (DigitalOcean: custom scope **domain**; Vercel: scoped to the account or team that owns the domain), paste it, review the changes, apply. Like Cloudflare, the token is used once and not kept, and nothing outside the mail records changes unless you tick it. Vercel can’t make SRV records, so those optional ones are left out (mail apps still find their settings through autoconfig). > [!NOTE] > Namecheap, GoDaddy and AWS Route 53 aren’t connectable: Namecheap and GoDaddy only open their DNS API to large accounts (and Namecheap’s replaces every record at once), and Route 53 works on whole record sets. Add the records by hand there: the page shows the exact steps for each. ## Add the records by hand With any other DNS provider, add these records. The domain page shows the exact values for your domain with copy buttons, and can download them as a zone file. | Type | Name | Value | Purpose | | --- | --- | --- | --- | | TXT | `_cleforyx-verify` | the token from the app | Ownership | | MX | `@` | `mail.cleforyx.com` (priority 10) | Receive mail | | TXT | `@` | `v=spf1 include:_spf.cleforyx.com ~all` | Allowed senders (SPF) | | TXT | `dkim._domainkey` | the long `v=DKIM1; …` value from the app | Signature (DKIM) | | TXT | `_dmarc` | `v=DMARC1; p=none; adkim=r; aspf=r` (as shown in the app) | Policy (DMARC) | | CNAME | `autodiscover` | `mail.cleforyx.com` | Outlook setup | | CNAME | `autoconfig` | `mail.cleforyx.com` | Thunderbird setup | **Optional SRV records** help some apps find the settings: `_autodiscover._tcp` → `0 1 443 mail.cleforyx.com`, `_imaps._tcp` → `0 1 993 mail.cleforyx.com`, `_submissions._tcp` → `0 1 465 mail.cleforyx.com`. > [!NOTE] > The DKIM record appears only after ownership is proven, because that’s when we create your domain’s signing key. > [!WARNING] > **Only one SPF record** > If you already have an SPF record (it starts with `v=spf1`), don’t add a second one. Add `include:_spf.cleforyx.com` to the one you have, before the `~all` or `-all`. ### Where to find DNS settings | Provider | Where | | --- | --- | | Cloudflare | Your domain → DNS → Records → Add record. Set every record to “DNS only” (grey cloud). | | GoDaddy | My Products → your domain → DNS → Add New Record. | | Namecheap | Domain List → Manage → Advanced DNS → Add New Record. Under “Mail Settings”, choose Custom MX. | | AWS Route 53 | Hosted zones → your domain → Create record. | | DigitalOcean | Networking → Domains → your domain → Create new record. | | Vercel | Dashboard → Domains → your domain → DNS Records → Add. | | Google Cloud DNS | Network services → Cloud DNS → your zone → Add standard. | | Hetzner | DNS Console → your zone → Add record. | | Porkbun | Domain Management → DNS → Edit. | ## Delivery reports Once your domain is live, its page shows **Delivery reports**: what Google, Microsoft, Yahoo and others report about mail sent as your domain over the last 30 days (DMARC). You see how many messages they saw, how many passed, and which servers sent mail as your domain and failed. A failing server that isn’t yours is usually someone forging your address; one that is yours (a newsletter tool, a shop) needs adding to your SPF or DKIM. Reports come to Dropline when your DMARC record includes our report address, which the record we suggest does. If you already had a DMARC record, add `rua=mailto:dmarc@cleforyx.com` to it to see them. ## postmaster@ is set up for you Every domain that receives email must have a working **postmaster@** address. It’s one of the oldest rules of email (RFC 5321, the standard every mail server follows): whoever runs a domain’s mail has to be reachable there. It matters because other mail servers and their admins use it: - When your mail is bounced, delayed or put on a blocklist, the people sorting it out write to postmaster@ to tell you why. - Some providers and spam filters check that postmaster@ exists before they trust a domain. Without it, your mail can look careless or even suspicious. - It’s where problems with your domain’s mail get reported (misconfigured records, mail looping, someone faking your address), so you hear about them. So as soon as your domain is connected, Dropline makes **postmaster@yourdomain** work. You don’t need a separate mailbox for it, and it doesn’t count towards your aliases. You can see where it delivers on the domain’s page, under **Status**. ### Where postmaster@ mail goes - To one of your mailboxes on that domain, picking one that accepts mail and isn’t a no-reply-style address (like no-reply@). - If the domain has no mailbox yet, to one of your other mailboxes. - Never to a mailbox with **Don’t accept inbound mail** on. If none of your mailboxes take mail, it goes to Dropline’s own postmaster@cleforyx.com, so problems with your domain still reach someone who can help. It follows your mailboxes: when you add your first mailbox on the domain, or delete or switch off the one it was using, postmaster@ moves to the best one left within moments. > [!TIP] > Want postmaster@ as a mailbox of its own? Create a mailbox called **postmaster** on the domain and it replaces the automatic address. If you delete that mailbox, the automatic address comes back once it’s removed for good (30 days later, while it can still be restored). Until then, mail to postmaster@ isn’t delivered, so restore it or keep it if you can. > [!NOTE] > You can’t add postmaster@ as an alias yourself: it already exists. Mail sent to it is never turned away, even by **Don’t accept inbound mail**, because the rule says it must always be reachable. ## Troubleshooting - **Records look right but still show missing.** DNS changes can take from a few minutes to a few hours to be visible everywhere. We keep checking; you can press **Check now** any time. - **SPF shows a conflict.** You have two TXT records starting with `v=spf1`. Merge them into one. - **Name shows twice, like `_dmarc.example.com.example.com`.** Most providers add your domain automatically. Enter only the part before your domain (`_dmarc`), or `@` for the domain itself. - **Outlook or Thunderbird can’t find settings.** On Cloudflare, make sure the `autodiscover` and `autoconfig` CNAMEs are **DNS only**, not proxied (orange cloud). - **Mail still arrives at the old host.** Remove the old MX record, or tick it in the Cloudflare plan so we remove it for you. --- Previous: [Mail apps](https://dropline.cleforyx.com/docs/mail-apps.md) · Next: [AI features](https://dropline.cleforyx.com/docs/ai-features.md)