# Set up your domain

Email goes out from a domain you own, so inboxes can tell it's really from you.

## Add a domain [#add-a-domain]

1. Go to **Email → Domains → Add domain**.
2. Enter the domain. We suggest a subdomain like `mail.yourcompany.com`: it keeps
   your email reputation separate from the rest of your domain.
3. Optionally add your first sender now, like `Your name <hello@mail.yourcompany.com>`.
4. Relevate shows the DNS records to add. Copy them into your DNS provider; **Copy
   all** copies every record at once.

Record names are shown the way most DNS providers want them, relative to your
domain (`@` means the domain itself).

## Records you'll add [#records-youll-add]

| Purpose | What it does |
|---|---|
| Ownership | Proves the domain is yours |
| Signing (DKIM) | Lets inboxes check each email really came from you |
| Sending (SPF) | Says Relevate may send for the domain |
| Spoofing protection (DMARC) | Tells inboxes what to do with mail that fails the checks |
| Receiving (MX) | Optional: lets the domain receive replies in Relevate |

<Callout title="Already have an SPF record?">
  A domain can only have one SPF record. Add Relevate to your existing record
  instead of adding a second one. The domain page shows what's needed.
</Callout>

## Verification [#verification]

Relevate checks the records automatically, or right away with **Check now**. The
domain page always says what's true now: records still to add, a record with the
wrong value (and what was found), or verified.

- **Service email** can be sent once ownership, signing and sending records are in.
- **Campaigns** also need DMARC set to `quarantine` or `reject`. With `p=none`,
  campaigns stay on hold.

If a record goes missing later, sending from that domain pauses until it's back.
