unsubbed.co

iRedMail

IRedMail handles full-featured mail server solution based on Postfix and Dovecot as a self-hosted solution.

Self-hosted email, honestly reviewed. No marketing fluff, just what you get when you run your own mail server.

TL;DR

  • What it is: A free, GPL-3.0 open-source mail server installer that bundles Postfix, Dovecot, SpamAssassin, ClamAV, Roundcube, and SOGo into a working mail server via a single setup script [README][website].
  • Who it’s for: System administrators and technically-inclined founders who want to move 10–500+ mailboxes off Google Workspace or Microsoft 365 and keep all email data on their own hardware [website][2].
  • Cost savings: Google Workspace Business Starter runs $6/user/month. For 20 users that’s $1,440/year. iRedMail software is free; you pay only for a VPS ($10–20/mo) regardless of mailbox count [website].
  • Key strength: Has been running in production since 2007. Real users report running it “flawlessly for years” — it’s not a side project, it’s a mature piece of infrastructure [website testimonials].
  • Key weakness: Running your own mail server is genuinely hard. DNS configuration, IP reputation, deliverability, and ongoing maintenance are real operational costs. iRedMail solves the install problem, not the email operations problem.

What is iRedMail

iRedMail is not a mail server. It’s a mail server installer — a shell script that pulls together seven or eight well-understood open-source components and configures them to talk to each other correctly. The result is a fully functional mail server, but every piece of it is standard software you could find in any Linux package manager. What iRedMail provides is the correct wiring and sane defaults [README].

The component stack: Postfix handles SMTP (sending and receiving), Dovecot handles IMAP/POP3 (client access), SpamAssassin and ClamAV handle antispam and antivirus, Roundcube or SOGo provide the web interface, and the whole thing sits in front of either OpenLDAP, MySQL, MariaDB, or PostgreSQL depending on your preference [website][README]. You also get DKIM signing, SPF enforcement, greylisting, and quarantine out of the box [website].

SOGo is the groupware option that adds CalDAV (calendars), CardDAV (contacts), and ActiveSync for iOS and Android. If you want people to sync their calendars and address books to their phones the same way they do with Google Workspace, SOGo is how you get that [website].

The project has been maintained since 2007 by a single primary author (Zhang Huangbin) backed by a paid support business. There’s also an iRedMail Easy managed platform for users who want one-click upgrades and ticket-based support, and iRedAdmin-Pro as a paid replacement for the bundled free admin panel [website][README]. The GitHub repository sits at 1,775 stars — modest compared to flashier projects, but this is infrastructure software with a narrow audience, not a consumer app [merged profile].


Why people choose it

The reviews available for iRedMail aren’t deep technical writeups — they’re mostly feature comparison pages. But the user testimonials on the iRedMail website are unusually specific and span nearly a decade, which tells you something about the longevity of real deployments.

Versus Google Workspace and Microsoft 365. This is the real comparison for most non-technical founders reading this. The website testimonial from @Neutro (2015) puts it plainly: “I started to build my own personal cloud server by renting a 7$/month small dedicated server. iRedMail made that dream possible for the mail side.” A 2017 testimonial from swejun describes migrating away from Exchange and Active Directory, choosing iRedMail over Kerio, Zentyal, Kolab, Kopano, Zimbra, and SOGo by themselves — and getting it running in about an hour [website]. That’s the pitch: you don’t have to build the Exchange replacement yourself, you just run a script.

Versus mailcow. This is the natural self-hosted comparison. mailcow is Docker-based, iRedMail is script-based [2][3]. mailcow’s admin interface is generally considered more polished. iRedMail has broader distribution support (FreeBSD, OpenBSD, RHEL variants, Debian, Ubuntu) and a longer track record. If you’re already comfortable managing Linux servers without Docker, iRedMail is the more traditional approach [2][3]. If you want containerization and a slicker management UI, mailcow is the stronger choice [2].

Versus Microsoft Exchange. Exchange requires Windows Server, requires significant technical expertise, has real licensing costs, and requires dedicated IT staff [5]. iRedMail runs on any supported Linux/BSD distribution, is free to download, and a single sysadmin can manage it. One user migrated from Exchange to iRedMail and started moving OpenLDAP in as an AD replacement for Gitlab, Confluence, and Jira alongside it [website testimonial].

The privacy angle. Multiple testimonials specifically cite the privacy motivation — keeping email off Google and Microsoft servers. This is the same motivation driving the broader self-hosted movement, and it’s a legitimate one. With iRedMail, you have the transaction logs, you control the encryption keys, and no third party can access message content or metadata [website].


Features

What you get in a standard iRedMail install:

Mail handling:

  • Postfix SMTP with TLS enforcement [website]
  • Dovecot IMAP and POP3 with TLS [website]
  • DKIM signing for outbound mail [website]
  • SPF, greylisting, whitelisting/blacklisting [website]
  • SpamAssassin spam scoring with SQL quarantine — spam gets held for admin review rather than silently dropped [website]
  • ClamAV antivirus scanning on inbound and outbound mail [website]

Webmail and groupware:

  • Roundcube webmail: mail, folders, sieve filters (server-side filtering rules), vacation/autoresponder [website]
  • SOGo groupware: CalDAV calendars, CardDAV address books, ActiveSync for mobile devices [website]
  • Both are available; you can run both or pick one [website]

Account management:

  • Web admin panel (free) for managing domains, users, mailing lists, admins [website]
  • iRedAdmin-Pro (paid) adds more management features [website]
  • Unlimited domains, users, mailing lists — no per-mailbox pricing [website]
  • Backend of your choice: OpenLDAP, MySQL, MariaDB, or PostgreSQL [website]

Security:

  • POP3/IMAP/SMTP over TLS enforced by default [website]
  • Webmail over HTTPS only [website]
  • Passwords stored in SSHA512 or BCRYPT [website]

Deployment options:

  • Script-based install on supported distributions [README]
  • Docker edition: iredmail/dockerized [README]
  • iRedMail Easy managed platform for one-click upgrades [website]

Supported OS: CentOS Stream 9/10, Rocky Linux 9/10, AlmaLinux 9/10, Debian 12/13, Ubuntu 22.04/24.04/26.04 (24.04 recommended), FreeBSD 14.x, OpenBSD 7.8 [README].


Pricing: SaaS vs self-hosted math

iRedMail software: Free. GPL-3.0 license. No per-mailbox fees, no per-domain fees, no expiry [README][website].

iRedAdmin-Pro: Paid admin panel with additional features. Pricing not listed on the website — requires a quote [website]. For most small deployments, the free bundled admin panel is sufficient.

iRedMail Easy platform: Paid managed service for deployment, upgrades, and support. Again, pricing requires contacting sales [website]. Worth considering if you don’t want to run upgrades manually.

Paid support: Zhang Huangbin offers direct paid support. Forum support is free [website][README].

SaaS comparison:

ServicePer user/month20 users/year50 users/year
Google Workspace Starter$6$1,440$3,600
Microsoft 365 Business Basic$6$1,440$3,600
iRedMail self-hosted$0 software~$120–240/yr VPS~$120–240/yr VPS

At 20 users, you’re looking at $1,200–1,300/year saved versus Google Workspace after VPS costs. At 50 users, $3,360–3,480/year saved. The savings scale linearly with user count; the VPS cost stays flat [website pricing model].

The honest caveat: your IT time isn’t free. If you spend 40 hours setting up and maintaining this versus zero hours on Google Workspace, and you value your time at $100/hour, you’ve spent $4,000 in year one. Self-hosted email makes economic sense at meaningful scale (20+ mailboxes) or when you have in-house technical capacity.


Deployment reality check

The iRedMail installation is a shell script that asks you a series of questions (hostname, domain, admin password, backend type, which components to install) and then configures everything. Users consistently report getting from bare server to working mail server in under two hours [website testimonials].

That’s the easy part.

The hard part is deliverability. Running your own mail server means managing your IP’s reputation. Major providers (Gmail, Outlook, Yahoo) have increasingly aggressive spam filters that distrust new or unfamiliar mail server IPs. To send reliably, you need:

  • A dedicated IP with clean history (shared VPS IPs are often blacklisted from previous tenants)
  • Correct reverse DNS (PTR record) pointing back to your mail hostname
  • SPF, DKIM, and DMARC records properly configured in DNS
  • A gradual warmup period for new IPs

iRedMail handles the technical configuration of DKIM and SPF on the server side. It does not help you with IP reputation, warming, or the DNS records themselves — that’s your job.

What you need:

  • A VPS with 2–4GB RAM minimum. The iRedMail Easy platform recommends at least 4GB for production [website]
  • A supported Linux distribution (Ubuntu 24.04 is the recommended starting point per README)
  • A domain name you control
  • Ability to set MX, SPF, DKIM (TXT), DMARC, and PTR records in DNS
  • An IP that isn’t on major blacklists — check before deploying

What can go sideways:

  • The appmus.com comparison pages [1][2][3] all note “advanced configuration may require command-line expertise” — that’s accurate. If something breaks post-install (a Dovecot authentication issue, a SpamAssassin rule conflict), debugging requires reading Postfix and Dovecot logs.
  • SOGo, while functional, is frequently noted as less polished than the alternatives [1][2][3]. If your users are coming from Google Workspace’s calendar, SOGo will feel dated.
  • iRedMail installs directly on the OS rather than in containers. This means upgrades touch system packages, and the installer documentation explicitly warns against running it on a server already running other services. Use a dedicated server or VM [website docs].

Realistic time estimates:

  • Technical user with Linux experience: 1–2 hours to working mail server, 4–8 hours to production-ready with DNS fully configured and deliverability verified.
  • Non-technical user: not recommended without a sysadmin helping. This is not a point-and-click product.

Pros and cons

Pros

  • Free software, unlimited mailboxes. GPL-3.0, no license fees, no per-user pricing. Add 500 mailboxes for the same server cost as five [website][merged profile].
  • Battle-tested since 2007. This is not a newly launched project. The testimonials go back a decade and describe years of uninterrupted production use [website testimonials].
  • Standard components. Everything iRedMail installs is well-documented open-source software with its own communities, documentation, and support channels. If iRedMail the project disappeared tomorrow, your mail server would still run [README].
  • CalDAV, CardDAV, and ActiveSync included. SOGo gives you the groupware features (calendars, contacts, mobile sync) that you’d otherwise pay Google for [website].
  • Antispam and antivirus built in. SpamAssassin, ClamAV, greylisting, DKIM, SPF — all configured and working out of the box [website].
  • Reproducible. The website specifically calls out that you can migrate a crashed server to a new iRedMail instance — useful for disaster recovery [website].
  • BSD support. Unusual for modern self-hosted tools. FreeBSD and OpenBSD support expands deployment options for shops with existing BSD infrastructure [README].

Cons

  • Email deliverability is your problem. iRedMail configures your server correctly but doesn’t manage your IP reputation. Getting consistently into Gmail and Outlook inboxes requires work beyond the installer [general email operations knowledge].
  • SOGo looks dated. Consistently called out as less polished than alternatives [1][2][3]. Coming from Google Calendar or Outlook, your users will notice.
  • Not Docker-native. The primary install method modifies your OS directly. A separate Docker edition exists but it’s a different project (iredmail/dockerized) — not the main installer [README]. Compare to mailcow, which is Docker-first [2].
  • Script installs require a clean server. You can’t install iRedMail alongside other services on a shared server without conflicts [website docs]. Needs its own VM.
  • iRedAdmin-Pro pricing is opaque. The free admin panel covers basics but the Pro version with additional features requires a quote. Hard to evaluate total cost of ownership without knowing this number [website].
  • Limited third-party reviews. The available comparison sources [1][2][3][4][5] are feature-matching pages rather than hands-on writeups. Deep operational reviews from real deployments are hard to find, which means you’re partly relying on the forum and documentation when things go wrong.
  • Single primary maintainer risk. The project is maintained primarily by Zhang Huangbin. The paid support business creates a sustainability model, but it’s worth understanding the bus factor before betting your company email on it.

Who should use this / who shouldn’t

Use iRedMail if:

  • You have 20+ mailboxes and the math on Google Workspace or Microsoft 365 is becoming painful.
  • You have in-house Linux/sysadmin capacity or someone you trust to set this up and keep it running.
  • Privacy and data sovereignty are non-negotiable — you want email entirely on your own hardware.
  • You’re replacing Exchange in a small/medium business and want CalDAV/CardDAV without paying enterprise licensing fees.

Skip it (use Google Workspace) if:

  • You have fewer than 10 mailboxes. At $6/user/month, the savings don’t justify the operational overhead.
  • Nobody on your team has Linux server experience.
  • You can’t afford email downtime or deliverability problems — self-hosted email requires ongoing maintenance.

Skip it (use mailcow) if:

  • You want Docker-native deployment and a more modern admin UI [2][3].
  • You’re more comfortable managing containers than managing OS-level installations.

Skip it (use Migadu, Fastmail, or Proton) if:

  • You want custom domain email that’s not Google/Microsoft but also don’t want to run a server. Managed privacy-focused email providers hit the middle ground at $4–10/month for unlimited users.

Alternatives worth considering

  • mailcow — Docker-based, more polished admin UI, actively developed. The main alternative for self-hosted email [2][3]. Choose mailcow if you want containers; choose iRedMail if you want broader OS support and the traditional approach.
  • Postal — Open-source, designed for bulk/transactional sending. Not a replacement for personal/business email.
  • Stalwart Mail Server — Newer Rust-based mail server, modern protocols (JMAP), gaining traction. Less mature than iRedMail but worth watching.
  • Zimbra — Full groupware suite, open-source community edition exists. Heavier and more complex than iRedMail [1][website testimonial comparing the two].
  • Microsoft Exchange Server — On-premises option, but Windows-only, expensive, and requires dedicated IT to manage [5].
  • Google Workspace / Microsoft 365 — The SaaS incumbents. Best if you want zero maintenance and have budget for per-user licensing.
  • Migadu — Managed email hosting with unlimited domains and users, privacy-focused, $4-$19/month flat. The pragmatic middle ground if self-hosting feels like too much.

Bottom line

iRedMail is the most pragmatic answer to the question “how do I stop paying Google per mailbox?” It doesn’t try to be novel — it wires together Postfix, Dovecot, and the standard antispam stack the way they’re meant to be wired, and it’s been doing that reliably since 2007. The math is obvious at scale: 50 mailboxes on Google Workspace costs $3,600/year; on iRedMail they cost the price of a VPS. The tradeoff is equally obvious: you inherit the operational complexity of running email infrastructure, and email is unforgiving when things go wrong. If you have technical capacity (or are willing to pay for it once during setup), iRedMail is a proven, stable foundation. If you’re a solo founder who’s never touched a Linux server and has no one to call when SMTP breaks at 9pm on a Sunday, the SaaS bill might be worth it.

If deployment is the blocker, that’s exactly what upready.dev handles for clients — one-time setup, you own the infrastructure, no recurring per-seat fees.


Sources

  1. Appmus.com“mail.com vs iRedMail Comparison (2026) | Feature by Feature”. https://appmus.com/vs/mail-com-vs-iredmail
  2. Appmus.com“mailcow vs iRedMail Comparison (2026) | Feature by Feature”. https://appmus.com/vs/mailcow-vs-iredmail
  3. Appmus.com“iRedMail vs mailcow Comparison (2026) | Feature by Feature”. https://appmus.com/vs/iredmail-vs-mailcow
  4. Appmus.com“iRedMail vs Email.biz Comparison (2026) | Feature by Feature”. https://appmus.com/vs/iredmail-vs-email-biz
  5. Appmus.com“iRedMail vs Microsoft Exchange Server Comparison (2026) | Feature by Feature”. https://appmus.com/vs/iredmail-vs-microsoft-exchange-server

Primary sources: