Free tool · MX mode

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.

The original URL assigned by Odoo for your database, ending in .odoo.com — e.g. fanatics.odoo.com. Do not include https:// or trailing slashes.

The main domain you currently use for your website and email (typically managed by Microsoft 365 or Google Workspace). Enter the part after the @ in your primary email — e.g. if your email is info@example.com, enter example.com. No www or http://.

To keep your primary domain separate from the one Odoo uses, pick a subdomain prefix. Common choices are below — click to use, or type your own.

Your Odoo mail domain becomes: (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).

MX

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.

CNAME

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.

TXT

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.

TXT

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.

Which results in: Because of these records, the internet knows where to deliver your emails — and receiving servers can verify they really came from you.

To improve deliverability and prevent emails from being marked as spam or rejected, configure DKIM together with SPF and DMARC. The three mechanisms reinforce each other: SPF authorises servers, DKIM signs messages, DMARC handles failures. Together they reduce spoofing and phishing 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.

Your Odoo mail domain becomes: (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.