Key takeaways
- Every option installs the same core: Postfix, Dovecot and a spam filter. They differ in the web interface, the extras and what else runs on the server.
- Mailcow runs as a set of Docker containers and wants a server of its own. Modoboa and iRedMail install onto a clean Linux server. ISPConfig and a hosting panel manage mail beside websites and DNS.
- Software setup is the easy half. Deliverability depends on DNS records, a reverse DNS name your provider sets, and the reputation of the IP address.
- Pick by what else the server does. A server that only does mail suits a mail suite. A server that also hosts sites for customers suits a panel with mail built in.
Running your own mail used to mean editing Postfix files by hand. Several projects now put a web interface on top, so you add a domain and a mailbox in a browser. This post compares the common choices: Mailcow, Modoboa, iRedMail, ISPConfig, and a full hosting panel with mail built in. It states what each one sets up, from each project's own pages, read on 2 November 2026. If you want the underlying pieces explained first, read how to set up a mail server the right way.
What every mail server needs
Whatever the product, a working mail server has these parts:
- An MTA (usually Postfix) to accept and send mail on ports 25, 587 and 465.
- An IMAP server (usually Dovecot) so that phones and webmail can read mailboxes.
- A spam filter (Rspamd, SpamAssassin or Amavis) and optionally a virus scanner (ClamAV).
- Authentication records in DNS: SPF says which servers may send for the domain, DKIM signs messages, DMARC says what to do with failures. See SPF, DKIM and DMARC set up.
- TLS certificates for the mail host name.
- A reverse DNS name (PTR) for the server's IP address that matches its host name. Only your server provider can set this.
- A webmail or a mail app for people, and an admin interface for you.
The tools below mostly differ in the last item and in how much of the DNS part they do for you. None of them can fix a bad IP address. If your mail lands in spam, see why emails go to spam from your own server.
Mailcow
mailcow: dockerized is a groupware and email suite built on Docker, with each component in its own container. Its documentation lists Postfix, Dovecot with full text search, Rspamd, SOGo as webmail with CalDAV and CardDAV, and optional ClamAV, plus Nginx, MariaDB, Redis and an ACME client for Let's Encrypt. The web interface creates domains and mailboxes, handles DKIM and ARC with key generation, and manages blacklists, spam score thresholds and quarantine. It also runs MTA-STS and DANE handling through a separate resolver.
Its GitHub repository says GPL 3.0, shows about 13,700 stars, and points to paid support from Servercow. Mailcow's requirements page did not open for us, and secondary sites report a minimum near 6 GiB of RAM for the default stack with the antivirus and full text search switched on. Treat that as a reason to read the official prerequisites page before you size a server. Mailcow ships its own Nginx and takes the mail ports, so plan it as a server of its own rather than something to add beside other sites.
Modoboa
Modoboa describes itself as an open source email server you install yourself. It lists webmail, calendar and address book, filter rules and an auto responder, unlimited domains, mailboxes and aliases, statistics, and support for SPF, DKIM and DMARC. The installer sets most of it up, and the page says that takes under 10 minutes, with DNS still left for you. The repository states an ISC licence, a Python and Django codebase with a Vue front end, and Postfix and Dovecot underneath, with an Amavis frontend as one of its extensions. The site mentions paid professional services, with installation from 150 euro. It did not state spam filtering on its home page, so read the documentation to see which filter your install gets.
iRedMail
iRedMail is an installer that sets up a mail stack with recommended settings, for Linux and BSD. The pieces it lists are Postfix and Dovecot, with OpenLDAP, MySQL, MariaDB or PostgreSQL to store accounts, SpamAssassin and ClamAV for filtering, greylisting, SPF and DKIM, and Roundcube, SOGo or both for webmail. SOGo adds CalDAV, CardDAV and ActiveSync. A free web admin panel is included. There are paid versions: iRedMail Enterprise Edition, described as a single binary with one click upgrades, and iRedAdmin-Pro with more admin features. Prices were not on the page we read. Supported systems include Rocky, Alma, Debian, Ubuntu, FreeBSD and OpenBSD, among others.
ISPConfig
ISPConfig is a hosting panel under a BSD licence, not a mail only suite. Mail is one part: it manages mail servers with virtual users, beside Apache2 and nginx, DNS with BIND or PowerDNS, and several servers from one panel. It has separate admin, reseller and client logins. The page does not mention webmail, which you add separately, commonly Roundcube. It supports Debian 11 to 13, Ubuntu 22.04 to 26.04 and the AlmaLinux and Rocky families. It suits someone who wants mail and sites together and is willing to work with an older style interface. See ISPConfig versus HestiaCP.
A full hosting panel with mail
A hosting panel sets up mail for the domains you already host, using the DNS it also runs. RespireCloud is one. It is a self hosted server and hosting control panel, licensed per server, not open source. Reading the mail feature page and the module itself, here is what it does today:
- The stack: Postfix, Dovecot and Rspamd, with ClamAV as an option. Virus scanning is the heavy part of the footprint, and the module notes it as an extra you can run without.
- DKIM, SPF, DMARC and more: DKIM keys are made on the mail server, with two step rotation and ARC sealing for forwarded mail. MX, SPF, DKIM, DMARC, MTA-STS, TLS-RPT, autoconfig and autodiscover records are published into the domain's zone, when the domain's DNS is on the same panel (see DNS).
- Sending safety: submission on ports 587 and 465 requires the login to match the sender, open relay is refused, and a flooding mailbox is held rather than bounced.
- Spam and virus: spam filtering that learns from what you move to Junk, greylisting, a quarantine users can release from, and checks on outgoing mail.
- Webmail: its own app at
webmail.yourdomain, with threaded conversations, search, scheduled send, rules, vacation replies, several identities, a calendar over CalDAV, and contacts over CardDAV that are off until you enable them. - Admin interface: mail domains, mailboxes with quotas, aliases, forwarders, catch all, auto responders and queue control in the panel, with a set up check that looks at reverse DNS and blocklists daily.
What it does not do yet, per its own pages: POP3 and a transactional sending API are not built, and real phone mail clients have not been tested against its mail, contacts and calendar services. The free edition allows 5 mailboxes on one server; paid editions have no mailbox cap (see pricing, as of 2 November 2026). It makes more sense if mail is one of several jobs on the server than if it is the only one. If you come from FastPanel, mail can be imported with its passwords, aliases and DKIM keys, and the DNS does not change until you publish the records yourself.
Side by side
| Mailcow | Modoboa | iRedMail | ISPConfig | RespireCloud | |
|---|---|---|---|---|---|
| Shape | Docker suite | Installer and Django app | Installer | Hosting panel | Hosting panel |
| Licence | GPL 3.0 | ISC | Open source, paid editions | BSD | Licensed per server, free edition |
| MTA and IMAP | Postfix, Dovecot | Postfix, Dovecot | Postfix, Dovecot | Postfix, Dovecot (per its mail features) | Postfix, Dovecot |
| Spam filter | Rspamd | Amavis extension listed | SpamAssassin | Rspamd or Amavis, per its docs | Rspamd |
| Webmail | SOGo | Own webmail | Roundcube or SOGo | Add one | Own webmail app |
| DKIM and DMARC in the UI | DKIM, ARC | SPF, DKIM, DMARC | DKIM, SPF | Yes, per its docs | Yes, published to DNS |
| Also hosts websites | No | No | No | Yes | Yes |
The ISPConfig and spam filter cells come from its documentation index, which is dated, so check them for your version.
How to choose
- Is the server only for mail? Mailcow, Modoboa or iRedMail. Pick on the licence, the webmail you like and the size of server you will rent.
- Does it also host sites and DNS? Use a panel that does all three, so the DNS records follow the mailboxes by themselves.
- Do you need calendars and phone sync? Mailcow and iRedMail list SOGo with ActiveSync. Check the others for the clients you use.
- Will you run it for others? Look at quotas, per domain admins and what happens when a mailbox floods. Plan backups too.
Before any of them goes live, check three things outside the software: your provider allows outbound port 25, you can set reverse DNS, and the IP address is not on a blocklist. Then send a test to a few big providers and read the headers. If you host several servers, see how to set up private nameservers.
Questions
What is the easiest self hosted email server with a web interface?
Mailcow and Modoboa both ship an installer and a graphical admin interface. Mailcow comes as Docker containers and Modoboa as an installer script. Which is easier depends on whether you are comfortable running Docker for mail.
Do these tools set up DKIM, SPF and DMARC for me?
They generate DKIM keys and tell you which DNS records to add, and some can publish them if they also run your DNS. Mailcow supports DKIM and ARC from its interface, Modoboa supports SPF, DKIM and DMARC, and a panel with DNS built in can publish the records itself.
Can I run my own mail server from a home connection?
Usually not well. Many providers block port 25, home IP addresses are often on blocklists and you cannot set reverse DNS. A VPS or dedicated server whose provider allows port 25 and sets reverse DNS is the practical choice.
Is it worth self hosting email at all?
It is worth it when you want control over your data and many mailboxes for a fixed cost. It is not worth it if you cannot spend time on blocklists, updates and backups, or if one lost message would be a disaster.
Which has webmail included?
Mailcow includes SOGo, Modoboa has its own webmail and calendar, iRedMail offers Roundcube or SOGo, and RespireCloud has its own webmail app. ISPConfig's feature page does not mention webmail, so check its documentation for the one you would add.