Key Takeaways
- Gain administrator access to your Odoo instance and domain DNS settings before starting.
- Use PowerDMARC’s Hosted SPF feature to add Odoo without causing conflicts with other email services.
- Generate or manually create an SPF record that includes _spf.odoo.com.
- Publish a DKIM CNAME record pointing to odoo._domainkey.odoo.com.
- Start with a DMARC policy of p=none to monitor email traffic safely.
- Configure the Alias Domain in Odoo to match your sending domain.
- Verify SPF, DKIM, and DMARC records using PowerDMARC’s Domain Analyzer and send test emails to confirm PASS results.
Setting up SPF, DKIM, and DMARC records in Odoo strengthens email authentication and helps prevent phishing or spoofing attacks. By integrating PowerDMARC with your domain’s DNS settings, Odoo emails can meet modern authentication standards. This process ensures messages are verified by recipient servers, improving deliverability and protecting brand reputation.
To set up SPF, DKIM, and DMARC records for Odoo, here is what you’ll need:
- Administrator access to your Odoo instance.
- Access to your domain’s DNS settings.
- A PowerDMARC account.
Steps to Set Up Odoo SPF Record
If You Already Have an SPF Record (Using PowerDMARC)
If you use other services to send emails, PowerDMARC’s Hosted SPF feature makes it easy to add Odoo without creating conflicts.
1. Log in to your PowerDMARC account and navigate to Hosted Services > PowerSPF.
2. Click on Add new mechanism and choose Include from the dropdown list.
3. In the textbox, type: _spf.odoo.com
4. Click Save. PowerDMARC will automatically combine this with your existing SPF mechanisms into a single, valid record.
If You Don’t Have an SPF Record
If you don’t have an SPF record yet, you have two options.
Option A: Use an SPF Generator
The easiest method is to use an SPF generator. Especially if you also send emails through services like Google Workspace or Microsoft 365, an SPF generator can help you create a comprehensive record.
1. Navigate to the PowerDMARC SPF Record Generator tool.
2. In the section for authorized domains or include mechanisms, add _spf.odoo.com.
3. Add the other sending services you use (e.g., _spf.google.com).
4. The tool will now generate the SPF string. Copy it.
Option B: Create a Basic Record Manually
If you only send emails from Odoo, you can use this simple record.
- v=spf1 include:_spf.odoo.com ~all
Publishing Your Odoo SPF Record
Once you have your SPF value from either option above, create a new TXT record in your DNS provider’s dashboard with the following details:
- Type: TXT
- Name / Host: @ (this can also be your domain name, e.g., mycompany.com)
- Value / Content: Paste the SPF string you generated/copied here.
- TTL (Time To Live): Leave as default (it’s often set to 1 hour or Automatic).
Now save the changes to your DNS records.
Steps to Set Up Your Odoo DKIM Record
In your DNS provider’s dashboard, create a new CNAME record:
- Type: CNAME
- Name / Host: odoo._domainkey (Your provider will likely add your domain automatically).
- Target / Value: odoo._domainkey.odoo.com
- Proxy status: Ensure this is set to DNS Only (or disabled/grey cloud if using Cloudflare).
- TTL: Leave as default.
Verify with a DKIM Checker
After you’ve saved the record, you can immediately verify that it’s published correctly using PowerDMARC.
1. Go to the PowerDMARC DKIM Record Checker tool.
2. Enter your domain name (e.g., mycompany.com).
3. Enter odoo as the selector.
4. Click Check.
The tool will check and confirm that your DKIM record is valid.
Steps to Set Up Your Odoo DMARC Record with PowerDMARC
1. Log in to PowerDMARC and go to the DMARC Generator tool.
2. Policy: Select None (p=none). This is the safest starting point, as it only monitors your email traffic without blocking potentially legitimate messages.
3. Aggregate Reports (RUA): Enter the email address where you want to receive your daily summary reports.
4. Click Generate. PowerDMARC will create your DMARC record.
5. Go to your DNS provider and create a new TXT record:
-
- Type: TXT
- Name / Host: _dmarc
- Value / Content: Paste the DMARC record you just generated.
6.Save the record.
Configuring the Alias Domain in Odoo
This step helps ensure the “From” address domain matches the sending server’s domain.
1. Log in to your Odoo database.
2. Navigate to Settings > General Settings.
3. Scroll down to the Emails section.
4. Find the field labeled Alias Domain.
5. Enter your custom domain name (e.g., mycompany.com).
6. Click Save.
Use PowerDMARC to Verify Your Setup
After a few minutes, you can check your setup.
1. Go to the Domain Analyzer in your PowerDMARC dashboard.
2. Enter your domain name and odoo as the selector for DKIM, then click Check.
3. The tool will show you the status of your SPF, DKIM, and DMARC records.
4. Last but not least, send a test email from your Odoo instance (like a sales quote) to a Gmail or Outlook address. Open the email and view the original message headers. You should see SPF: PASS, DKIM: PASS, and DMARC: PASS.
Does everything show PASS? Congrats, you’ve done it!
Final Words
If you follow the steps presented in this guide, you’ll be able to easily implement SPF, DMARC, and DKIM records for Odoo with PowerDMARC. Finalizing the setup by configuring the Alias Domain in Odoo ensures all components are properly aligned. These steps will boost the security of your email communications while at the same time improving email deliverability.
Ready to simplify and enhance your email security? Get started with PowerDMARC today to easily manage your authentication records and protect your domain with confidence!
Frequently Asked Questions
What do I need to set up SPF, DKIM, and DMARC for Odoo?
You need administrator access to Odoo and access to your domain’s DNS settings.
What if I don’t have the necessary technical knowledge and skills to set up SPF, DKIM, and DMARC by myself?
You can use PowerDMARC’s hosted services to ensure maximum accuracy and effectiveness with minimal effort from your side.
Why do I need to configure the Alias domain in Odoo?
It helps ensure the “From” address domain matches the sending server’s domain.
- How to Set Up SPF, DKIM, and DMARC Records for Odoo - August 8, 2025
- Top Spam Blockers to Stop Unwanted Messages - August 6, 2025
- What Is a Spam Filter & How It Protects Your Inbox - August 6, 2025