# How do I verify my sending domain?

> Add your domain to Phluit Email Sending and create the SPF, DKIM, return path and DMARC records so your email is trusted and lands in the inbox.

Source: https://docs.phluit.com/products/email-sending/email-sending-verify-domain/

You can only send from a domain you own and have verified. The DNS records prove the mail really comes from you, which keeps it out of spam folders.

## Pick the domain

Use a subdomain such as **mail.example.com** for sending, so your main domain's email (your mailboxes) stays separate. Your From address then uses it, for example `noreply@mail.example.com`.

## Add the domain

1.  Open **Email → Email API** in the portal menu, then the **Domains** tab.
2.  Type the domain and click **Add domain**.
3.  Four DNS records appear:
    -   **SPF** (TXT): if the domain already has an SPF record, merge ours into it. A domain can only have one SPF record.
    -   **DKIM** (TXT): signs your mail. This one is required.
    -   **Return path** (CNAME): receives bounces for you.
    -   **DMARC** (TXT on `_dmarc`): recommended. If you already have a DMARC record, keep yours.

## Domain on Phluit DNS: one click

If the domain is in your **Domains & DNS** at Phluit, click **Add these records for me**. You see exactly what will change; click **Yes, add them** and we add the records for you. We merge SPF into your existing SPF record, keep your own DMARC record, and leave alone any name that's already in use. The change appears in the domain's history in **Domains & DNS**, where you can undo it.

## Domain somewhere else

The Domains tab tells you where your DNS is managed (for example Cloudflare, GoDaddy or Namecheap) and how to add records there. Use **Copy** next to each value. Two things trip people up:

-   Many DNS hosts want only the part of the name **before** your domain (for example `_dmarc.mail` instead of `_dmarc.mail.example.com`).
-   On **Cloudflare**, set the return path CNAME to **DNS only** (grey cloud), or it can't be verified.

## Check the records

Click **Check DNS**. New records can take from a few minutes to a few hours to show up, so check again later if they aren't found yet.

The domain can send as soon as its DKIM record is found. Set up SPF and the return path too: without them more of your mail ends up in spam.

## Remove a domain

Click **Remove** next to the domain. Mail from that domain is refused from then on.
