opensourceprojects.dev

A broadsheet for software that doesn't ask for your email

Modoboa ties Postfix, Dovecot, and Django into a mail hosting platform with Vue
GitHub RepoImpressions21

Project Description

View on GitHub

Modoboa: When Django Meets Email Infrastructure

You know that feeling when you want to host your own email server, but you remember Postfix config files are basically a dark art? Yeah, me too. Modoboa is here to fix that — it wraps Postfix, Dovecot, and a bunch of other mail tools into a clean Django-based web interface, with a Vue frontend that actually looks good.

Think of it like a self-hosted Gmail for your domain, without the soul-crushing complexity of setting up DKIM, SPF, and sieve filters by hand. It’s not a toy — it’s production-grade mail hosting, just with a UI that doesn’t make you cry.

What It Does

Modoboa is an all-in-one mail hosting platform. Under the hood, it relies on battle-tested tools:

  • Postfix for SMTP (sending email)
  • Dovecot for IMAP/POP3 (receiving and storing email)
  • Amavis or Rspamd for spam/virus filtering
  • Sieve for server-side mail filtering

The Django web app gives you a dashboard to manage domains, mailboxes, aliases, quotas, and even let users change their own passwords or set up auto-replies. The Vue frontend makes it snappy and modern. Everything talks to each other through a REST API.

It’s basically a turnkey solution for anyone who wants to run their own email server for multiple domains, without needing to be a postmaster from the 90s.

Why It’s Cool

Three things stand out to me:

  1. It’s modular. You can install just the parts you need — maybe you already have Postfix running and just want the admin panel? Modoboa supports that. Or you want the full stack including antivirus and webmail? There’s an installer for that too.

  2. REST API first. Want to automate user creation or domain provisioning? There’s a proper API, not some hidden SQL hacks. This makes it trivial to integrate with your own tools or a client onboarding flow.

  3. Modern auth. It supports OAuth2 via Python Social Auth, so you can hook it up to your existing identity provider. No more managing yet another password database unless you want to.

  4. It’s actively maintained. The repo has regular releases, a working demo, and decent docs. You’re not betting on abandonware.

How to Try It

The easiest way is to spin up the live demo — you can click around and see how the admin panel works. Login with admin / password (yes, really).

If you want to install it yourself, they have a comprehensive guide. For a quick start on a fresh Ubuntu/Debian server:

git clone https://github.com/modoboa/modoboa-installer
cd modoboa-installer
sudo python3 run.py --interactive

That script will ask you a few questions (domain name, admin password) and then set up everything — Postfix, Dovecot, MySQL, Redis, Nginx, and Modoboa itself. It’s not instantaneous (takes ~5-10 minutes), but it’s way easier than configuring each component by hand.

For developers who prefer Docker, they also have a Docker Compose setup in the main repo. Check the docker-compose.yml — it includes everything preconfigured.

Final Thoughts

If you’re tired of relying on Gmail or Outlook for your custom domain, or if you’re building a SaaS that needs to send email from customer domains, Modoboa is a solid choice. It’s not trying to reinvent email — it’s just making the boring infrastructure parts a lot less painful.

The biggest downside? You’ll still need a server with a static IP, reverse DNS, and a clean reputation if you want your emails to land in inboxes (not spam). That’s not Modoboa’s fault — that’s just how email works in 2025.

But if you’ve got that covered, Modoboa is one of the best self-hosted mail platforms I’ve seen. Give the demo a click.


found this interesting? follow us @githubprojects for more dev-friendly tools

Back to Projects
Project ID: 5faadac2-6b73-48d4-a4c2-bae2f86f7b32Last updated: July 10, 2026 at 06:48 AM