# Use your own mail domain

> Receive support mail straight on your own domain, and send replies from an address such as support@yourcompany.com.

Your own domain can do two things in Supportress, together or apart:

- **Receive**: mail to an address on the domain becomes a ticket, with no mailbox and no forwarding.
- **Send**: replies, confirmations and macros go out from your address, such as `support@yourcompany.com`, instead of a `supportress.app` one.

It works wherever your DNS is hosted. You add a few DNS records once.

## Which domain to use

**An MX record takes all of a domain's mail.** If people on your domain have mailboxes with Google, Microsoft or another host, never let Supportress receive on the main domain:

- To **send only**, use your main domain (such as `yourcompany.com`) and tick **Only send replies from it**. No MX record is needed, so your existing email keeps working. Keep forwarding your support address to Supportress: see [Forward your support email](/help/supportress/articles/forward-email).
- To **receive and send**, use a subdomain such as `help.yourcompany.com`, which leaves your main mail where it is.

## Add the domain

1. Open **Settings**, then **Email**, and find **Your own mail domain**.
2. Type the domain, such as `help.yourcompany.com`. Tick **Only send replies from it** if this domain should only send.
3. Choose **Add domain**.
4. For a receiving domain, pick where **Mail to any other address there goes to**: a team, or **Nobody: refuse it**.

Supportress shows a table of DNS records. The **For** column says what each one is for:

- **Receive and send**: the DKIM record (TXT). It proves the domain is yours and signs your replies.
- **Send**: two SPF records (an MX and a TXT) on the `send` subdomain, such as `send.help.yourcompany.com`. They let replies go out from your domain and do not touch your normal mail.
- **Receive**: the MX record, only for a domain that receives mail.

## Add the records at your DNS host

1. At your DNS host (Cloudflare, GoDaddy, Namecheap, Route 53 and so on), add each record: copy its **Type**, **Name**, **Value** and, for MX, **Priority** exactly. Names are shown the way most hosts want them, relative to your domain; hover a name to see it in full.
2. Optional but recommended: add a DMARC record, type TXT, name `_dmarc`, value `v=DMARC1; p=none;`. It helps your replies land in inboxes rather than spam.
3. Back in Supportress, press **Check**. DNS changes usually show within minutes, sometimes a few hours, and Supportress also checks again by itself.

A receiving domain shows **Receiving mail** once its MX and DKIM records are found. Sending shows **Sending replies** once the DKIM and SPF records are found.

## Receive mail on the domain

Once the domain shows **Receiving mail**:

- Mail to `<team address>@yourdomain` reaches that team. For example, `billing@help.yourcompany.com` reaches the team whose address is `billing`.
- Mail to any other address on the domain goes to the team you picked, or is refused.
- A team whose **Your support address** is exactly that address always wins.

Send a test email from a personal account to `<team address>@yourdomain` and check that a ticket opens on the right team. Mail sent before the domain was verified is not taken in.

## Send replies from the domain

Once the domain shows **Sending replies**:

1. Under your team, higher up on the same page, type your address in **Send replies from**, such as `support@yourcompany.com`, and click away to save. It must be on a domain you added.
2. Send yourself a test ticket, reply, and check that the reply comes from your address. Answer that email: your answer lands on the same ticket.

Until the domain shows **Sending replies**, or if something goes wrong later, replies go out from your team's Supportress address, so customers always get them.

## If replies stop coming from your domain

If the mail provider refuses mail from your domain, usually because a DNS record was removed or changed, Supportress sends the reply from your Supportress address instead, so nothing is lost. The domain then says **Not sending** with the reason, and your admins get one email about it. Fix the records and press **Check**: the next reply goes from your domain again.

## Things to know

- A domain belongs to one Supportress organization. One that is not verified within 72 hours of being added can be claimed by another organization; the DKIM key changes with the new claim, so the old records no longer verify it.
- Removing the domain in Settings stops its mail at once. Tickets it made stay. Take its records out at your DNS host too.
