Full-featured, open source mail server solution for mainstream Linux/BSD distributions
open coreGPL-3.0-or-laterself-hostablefree
iRedMail is a shell installer that turns a fresh CentOS Stream, Rocky Linux, AlmaLinux, Debian, Ubuntu, FreeBSD or OpenBSD server into a complete mail server built from the distribution's own packages, with accounts stored in OpenLDAP, MariaDB or PostgreSQL. It sets up Roundcube webmail and optionally SOGo for calendars (CalDAV), contacts (CardDAV) and ActiveSync, filters mail with SpamAssassin, ClamAV, SPF, DKIM and greylisting, forces TLS for mail access, and ships a free web admin panel, iRedAdmin, with no limit on domains or mailboxes. The installer is GPL-3.0-or-later. Its makers sell iRedAdmin-Pro, a paid admin panel with a REST API, domain-level admins and quarantine management, and iRedMail Enterprise Edition, a single binary with a web installer and one-click upgrades, plus paid support tickets, remote installs and upgrades.
Problems it solves
- install a complete mail server on a fresh Ubuntu or Rocky Linux box without learning every Postfix and Dovecot setting
- run our company email on our own server with unlimited mailboxes and no per-user fees
- set up a mail server on FreeBSD or OpenBSD with webmail and spam filtering
- store mail accounts in OpenLDAP so our other apps can authenticate against the same directory
- give staff webmail with shared calendars, contacts and ActiveSync on phones from our own server
- replace Microsoft Exchange with an open source mail server we host ourselves
- move off Zimbra or Google Workspace to a self-hosted mail server, with someone to do the migration
- manage mail domains, users and aliases from a web panel on our own mail server
- delegate each client's mail domain to their own admin on our hosted mail server
- quarantine spam and viruses in a database so admins can release or delete messages later
- provision mailboxes from our billing system through a REST API on a self-hosted mail server
- upgrade our self-hosted mail server with one click instead of following manual upgrade tutorials
- sync mail users from Microsoft Active Directory into our self-hosted mail server
- pay for expert help when our self-hosted mail server breaks, per issue
- rate-limit how many emails each user or domain can send from our mail server
Features
- installer for CentOS Stream, Rocky Linux, AlmaLinux, Debian, Ubuntu, FreeBSD and OpenBSD using the distributions' own packages
- account backends: OpenLDAP, MariaDB or PostgreSQL
- Roundcube webmail with folders, sieve filters and vacation replies
- SOGo groupware: webmail, CalDAV calendars, CardDAV contacts, tasks and ActiveSync
- SpamAssassin, ClamAV, SPF, DKIM, greylisting, whitelists and blacklists
- spam quarantine in an SQL database for review
- mail access forced over TLS; passwords stored as SSHA512 or BCRYPT
- unlimited domains, users, mailing lists and admins
- free iRedAdmin web admin panel
- iRedAdmin-Pro: REST API, domain-level admins, user self-service, throttling, quarantine management, Fail2ban integration, admin activity log
View 6 more
- Enterprise Edition: web installer, one-click upgrades and adding or removing components after installation
- Enterprise Edition: TOTP two-factor login, password recovery, Let's Encrypt certificates and DKIM keys managed in the web UI
- Enterprise Edition: replicates accounts from Microsoft Active Directory, Samba or other LDAP servers
- Enterprise Edition: firewall rules and mail DNS record checks in the web UI; autoconfig and AutoDiscover
- netdata monitoring
- paid support tickets, remote installation, remote upgrades and migration from Gmail, Zimbra or Exchange
Limitations
- Doesn't install onto a server that already runs mail software: the installer needs a fresh system without MySQL, OpenLDAP, Postfix or Dovecot set up1
- No SOGo calendars, contacts or ActiveSync on ARM or i386 servers such as a Raspberry Pi: SOGo isn't packaged for those platforms2
Ways to run it
iRedMail
Only in this edition
- FreeBSD support, which Enterprise Edition lacks
Not included
- a REST API, domain-level admins, user self-service, quarantine management and throttling in the admin panel, which iRedAdmin-Pro and Enterprise Edition have
- one-click upgrades: each upgrade follows a tutorial applied by hand
You arrange
- a fresh CentOS Stream, Rocky, AlmaLinux, Debian, Ubuntu, FreeBSD or OpenBSD server with at least 4 GB of memory
- port 25 open, which many cloud providers block by default
- DNS records and a fully qualified hostname
- upgrades by hand after each release
- support from the community forum, or paid support tickets
iRedAdmin-Pro
$499 / 1 year, $699 / 2 years, $899 / 3 years per server; renewal $250 a year45
Only in this edition
- REST API
- domain-level admins and user self-service
- per-user service control, throttling, greylisting, whitelists and blacklists
- spam and virus quarantine management
- Fail2ban integration, admin activity log, last-login tracking and account export
- full source code for paying customers
Not included
- tech support for the iRedMail server itself, which the licence leaves out
You arrange
- an iRedMail server upgraded to the latest release
- a licence for each server
iRedMail Enterprise Edition
$10 per mailbox per year (minimum 10 mailboxes) or $1000 per server per year; perpetual licence; renewal 40% of the purchase or $400 per server3
Only in this edition
- web-based installer and one-click upgrades
- single binary for Linux amd64 and arm64, or a Docker image (amd64)
- account replication from Microsoft Active Directory, Samba or other LDAP servers
- TOTP two-factor authentication and password recovery
- Let's Encrypt certificates, DKIM keys and firewall rules managed in the web UI
- tech support
Not included
- FreeBSD support, which the open source installer has
You arrange
- a licence per server: each VM, VPS, cloud instance or container counts as one
Capabilities
| Has an API | plan not known |
|---|
Alternatives
The same job
These do what iRedMail does.
- Mail-in-a-Box Mail-in-a-Box lets you become your own mail service provider in a few easy steps
- Stalwart Secure, scalable mail & collaboration server with comprehensive protocol support
- Mailu Insular email distribution - mail server as Docker images
- mailcow The mailserver suite with the 'moo'
- docker-mailserver Production-ready fullstack but simple mail server running inside a container
- Modoboa Mail hosting made simple
