Logo Cinquin Andy Signature

Email marketing system configuration

Développeur Freelance - Logo

The sites and the associated resources.

Email marketing system configuration

Posted on  - April 2, 2025 by Andy Cinquin

EmailSelfhosted

Hey! In this article, we're going to talk about email marketing systems! Did you know that these require precise technical configuration to avoid spam filters? Since I knew nothing about this subject, here's how I set up an effective system and the tools that can help you.

Essential Protocols to Configure

Very quickly, to ensure the deliverability of your emails, three protocols are essential:

SPF (Sender Policy Framework)

A TXT-type DNS record that lists servers authorized to send emails for your domain.
v=spf1 include:_spf.example.com ~all

DKIM (DomainKeys Identified Mail)

Cryptographic signature system that authenticates the sender and guarantees the integrity of the content.
v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC...

DMARC (Domain-based Message Authentication, Reporting & Conformance)

Policy indicating how to handle emails that fail SPF/DKIM verification.
v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.com

Deliverability Testing

Once all this is done, we just need to test our emails. Mail-tester.com is a handy tool for evaluating the technical configuration of your emails. Send an email to the provided address and get a detailed report with a score out of 10. (like lighthouse but for emails! :D)

Two Approaches: SaaS vs Self-hosted

Brevo (SaaS)

  • Simplified configuration of SPF, DKIM, DMARC protocols (really very simple)
  • Complete REST API for integration with other tools
  • Real-time statistical dashboards
  • Technical limit: 300 emails/day on the free plan
  • Price: starting at €25/month for 20,000 emails (something like that, but it gets expensive fast :( )

Odoo (Self-hosted)

  • Simple installation on Coolify in a few clicks (4 max! :)))) )
  • Email Marketing module integrated with CRM and other modules
  • Manual configuration of protocols via the DNS module
  • DKIM key generation via DKIMcore.org
  • Total control over infrastructure and data
  • Cost: hosting + Community license (free) or Enterprise

DKIM Configuration with Odoo

  1. Generate a key pair with DKIMcore
  2. Create a TXT DNS record: mail._domainkey.yourdomain.com
  3. Configure the DKIM selector in Odoo
  4. Test with mail-tester.com
The freedom of self-hosting implies more technical responsibilities, but offers complete control over your email infrastructure - it's up to you to decide what you prefer!



🚀 Thanks for reading!
If you enjoyed this article, feel free to share it around.

💡 Got an idea? Let's talk !

DEVELOP YOUR PROJECTS TOGETHER

An idea, a project? I'm here to answer your questions and help you.
I'd be delighted to discuss your project with you!