Odoo Mail DNS
Configurator.
Send mail from your own domain via Odoo? This tool walks you through exactly which records to add at your DNS provider — with explanations at every step. Generated live, copy-paste-ready, and emailed for later.
What this tool configures Show explanation Hide explanation
This configurator generates the correct DNS settings for the following situation:
- Odoo Online or Odoo.sh is your hosting platform.
- You want to send email from one or more custom domains.
- Odoo remains the sending mail server (if you use an external SMTP provider you can still use this tool for the basic DNS setup).
- The setup uses MX mode — Odoo acts as a full mail server, with MX records pointing to Odoo and all mail for the subdomain delivered directly to Odoo.
Your current situation
Three quick questions. The DNS records below update live as you type.
(fill in the fields above) DNS settings to configure
Add these four records at your DNS provider (the place where your domain is registered or where you manage DNS — e.g. TransIP, Cloudflare, GoDaddy).
Step 1 — MX record
Create an MX record with priority 0.
- From (host / name)
-
(fill in the form above) - To (value / target)
-
(fill in the form above) - Priority
- 0
- TTL
- Auto / 3600
Show explanation Hide explanation
The MX record tells the rest of the internet where to deliver mail addressed to your subdomain. With priority 0 and the value pointing to your Odoo URL, all incoming mail for the subdomain lands directly at Odoo's inbox.
Step 2 — CNAME for DomainKey (DKIM)
Create a CNAME record.
- From (host / name)
-
(fill in the form above) - To (value / target)
-
(fill in the form above) - TTL
- Auto / 3600
Show explanation Hide explanation
DKIM lets Odoo cryptographically sign outgoing mail as you. Receiving servers (Gmail, Outlook, etc.) check the signature to verify the message was authorised by your domain and was not altered in transit. Without DKIM, your mail is much more likely to land in spam.
Step 3 — TXT record for DMARC
Create a TXT record.
- From (host / name)
-
(fill in the form above) - To (value / target)
-
(fill in the form above) - TTL
- Auto / 3600
Note: TXT "To" values should be placed between "quotes".
Show explanation Hide explanation
DMARC tells receiving servers what to do if a message claiming to be from your domain fails SPF or DKIM checks. With p=none we start in monitoring mode — no rejection yet, but you build visibility into who is sending mail as you.
Step 4 — TXT record for SPF
Create a TXT record.
- From (host / name)
-
(fill in the form above) - To (value / target)
-
(fill in the form above) - TTL
- Auto / 3600
Note: TXT "To" values should be placed between "quotes".
Show explanation Hide explanation
SPF lists which mail servers are allowed to send on behalf of your domain. By including _spf.odoo.com we tell receivers "Odoo may send for me, anything else is suspicious". Together with DKIM and DMARC, this dramatically improves deliverability and reduces spoofing risk.
Step 5 — Add the custom domain to Odoo
Now tell Odoo to accept incoming mail for your new subdomain. Add the subdomain in Odoo via one of the routes below.
(fill in the fields above) 1 · For Odoo.sh
Log in to Odoo.sh and select your Production branch. Go to Settings → Custom Domains and enter the URL above.
2 · For Odoo Online / Odoo Cloud
Go to the settings page of your Odoo database on Odoo.com. Click the gear icon next to your database name, choose Domain Names, then add the URL above.
Step 6 — Alias domain inside Odoo
Inside Odoo: Settings → Technical → Email → Alias Domains, add your subdomain. Then set up the aliases (sales@, support@, info@, …) as needed.
Sending more than 200 emails per day?
Odoo's built-in mail server is not optimised for high-volume sending. For Odoo Marketing or mass mailings, configure an external SMTP provider (e.g. SMTP2GO) to keep deliverability high. Need help? Contact us.
Email me a copy
Want the four records and the Odoo instructions emailed for later — or to forward to whoever does your DNS? Drop your name and email, we send the lot. (We CC our team so we can help if you get stuck.)
Done — check your inbox.
We have emailed the records to with copy-paste instructions. Add them in your DNS panel and you are set.