Domains and DNS

Add and verify a sending domain: which DNS records Delivrie needs (DKIM, SPF return path, DMARC, MX for receiving), how to enter them at common DNS providers, tracking and TLS settings.

To send from your own address, add the domain to Delivrie and publish a few DNS records that prove you own it and let mailbox providers trust your mail.

Use a subdomain

Send from a subdomain such as mail.acme.com or notify.acme.com rather than acme.com. Your app's email then builds its own reputation, and a problem with it can't affect the mail your team sends from acme.com. Customers still see whatever from name and address you choose, like Acme <orders@mail.acme.com>.

Add the domain

In Domains, enter the domain and click Add domain. Or with the API:

curl -X POST https://delivrie.io/api/domains \
  -H "Authorization: Bearer $DELIVRIE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "mail.acme.com" }'

The response lists the records to add. Options: return_path (bounce subdomain, default send), open_tracking and click_tracking (both off by default). Mail is sent from Ireland (eu-west-1).

The DNS records

For mail.acme.com, you'll see records like these:

PurposeTypeNameValue
DKIM (signs your mail)TXT<selector>._domainkey.mail.acme.comp=MIGfMA0GCSq... (your public key)
Return path: bouncesMXsend.mail.acme.comfeedback-smtp.eu-west-1.amazonses.com, priority 10
Return path: SPFTXTsend.mail.acme.comv=spf1 include:_spf.delivrie.io ~all
DMARC (recommended)TXT_dmarc.mail.acme.comv=DMARC1; p=none;
Receiving (optional)MXmail.acme.com or your receiving subdomaininbound-smtp.eu-west-1.amazonaws.com, priority 10

The feedback-smtp...amazonses.com and inbound-smtp...amazonaws.com hosts belong to Delivrie's mail infrastructure. Use the exact values from your dashboard; the DKIM key is unique to your domain. Copy records as text in the domain's menu gives you all of them at once.

Entering records at your DNS provider

Most providers add your root domain to the name automatically. If your DNS zone is acme.com, enter only the part before it:

Full nameWhat to type in the Name / Host field
<selector>._domainkey.mail.acme.com<selector>._domainkey.mail
send.mail.acme.comsend.mail
_dmarc.mail.acme.com_dmarc.mail

Provider notes:

Verify

Click Verify DNS records (or POST /domains/:id/verify). Each record shows its own status. Most providers update within minutes; some take up to 72 hours. Delivrie also re-checks pending domains in the background and sends a domain.updated webhook when the status changes.

Statuses: not_started (records not found yet), pending (some found), verified (ready to send), failed or temporary_failure (a record was found but is wrong; fix it and verify again).

Stuck? See Why isn't my domain verifying?

Settings

Change these on the domain's page or with PATCH /domains/:id:

SettingWhat it does
open_trackingAdds an invisible image to count opens. Off by default
click_trackingRewrites links to count clicks. Off by default
tlsopportunistic (default) uses TLS when the receiving server supports it; enforced only delivers over TLS
return_pathThe bounce subdomain label, default send. Changing it gives you new SPF records to add
Note Open tracking is approximate. Apple Mail and some corporate filters load images automatically, which counts as an open even if nobody read the email.

Several domains, several teams

Each domain belongs to one team. To use the same domain in another team, delete it from the first, or start a claim from the other team's Domains page, which proves ownership with a DNS record and moves it.

More guides