← All projects

✉️ Own mail server

Email addresses on my own domain with my own mail server and webmail.

Mail serverDNSSPF/DKIMWebmail

🎯 Goal

My own email addresses on my domain – and understanding along the way why emails sometimes end up in spam.

🛠️ Implementation

  • Own mail server in a container.
  • Webmail interface that lets me read several mailboxes separately in the browser.
  • Correct DNS records (MX, SPF, DKIM, DMARC) for reliable delivery.
  • Forwarding of the public address via Cloudflare Email Routing.

🧩 Challenges & solutions

A script would have deleted the mail records

My tool for tunnel addresses replaced all other DNS records when setting up the main domain. I built my own, careful script for it.

📚 What I learned

How email works technically and how sensitive DNS changes can be.
← 🏢 Company portal 🔐 Secure remote access →

Questions about this project?

I am happy to tell you more about it – in a conversation or by message.