Self-host Roundcube Webmail
1.7.6Browser-based IMAP webmail with a desktop-like UI
docker run -e ROUNDCUBEMAIL_DEFAULT_HOST=mail -e ROUNDCUBEMAIL_SMTP_SERVER=mail -p 8000:80 -d roundcube/roundcubemail- Stars
- 7 273
- Ports
- 80 (HTTP webmail UI served by the Apache-based image (host mapping in the docs example is 8000:80)), 9000 (PHP-FPM listener used by the fpm image variant, fronted by Nginx in the compose example)
- Requires
- IMAP server, SMTP server
roundcube/roundcubemailWhat is Roundcube Webmail?
Roundcube is a webmail front end you install on your own web server: it talks IMAP and SMTP to an existing mail server and presents an inbox that behaves like a desktop mail program. Users get MIME and HTML message rendering, an address book that can also read LDAP directories, IMAP folder management, threaded listings, message and contact search, canned responses, spell checking, shared folders with ACL support, plus OpenPGP signing and encryption via the bundled Enigma plugin. Login happens against the mail account, with OAuth/XOAUTH support for providers that require it, and brute-force login protection and XSS protection are built in. The Elastic skin adapts from desktop down to phone and offers light and dark interface modes, and the UI is translated into more than 80 languages. Self-hosting means unpacking a release tarball on a PHP 8.1+ web server backed by MySQL/MariaDB, PostgreSQL or SQLite and finishing in installer.php, or starting the official roundcube/roundcubemail container; docker-compose, Kubernetes and Helm examples exist, and HTTPS is expected to be terminated by a reverse proxy in front of it. It is GPL-3.0 software whose licence carves out add-on skins and plug-ins, developed by volunteers with Nextcloud as the project's home since 2023; the master branch on GitHub is explicitly not a stable release.
Roundcube Webmail alternatives
PostalPostal is an open-source mail delivery platform you self-host for transactional e-mail, with SMTP and HTTP sending, DKIM signing, webhooks and incoming mail routing.ComparePostal with Roundcube Webmail
LanQin EmailLanQin Email is an open-source self-hosted webmail with multi-domain support, DKIM, anti-spam, and single-container Docker deployment.CompareLanQin Email with Roundcube Webmail
BichonSelf-hosted, open-source email archiver written in Rust that pulls mail over IMAP or OAuth2, indexes it for full-text search, and serves a WebUI and REST API.CompareBichon with Roundcube Webmail
mailezA self-hosted email platform with SMTP, IMAP, POP3, CardDAV, CalDAV, a React webmail client, and admin console — all deployed via a single Docker Compose command.Comparemailez with Roundcube Webmail
plMailSelf-hosted, open-source mail client unifying IMAP, Gmail, and Outlook with calendar, file integrations, and optional AI features.CompareplMail with Roundcube Webmail
MailFlowA self-hosted webmail app that merges multiple email accounts into one inbox with real-time sync, AI features, and offline-capable PWA.CompareMailFlow with Roundcube Webmail
Mail-in-a-BoxOpen-source, self-hosted mail server appliance: one script turns a fresh Ubuntu 22.04 VPS into a full mail stack with webmail, spam filtering, DNS and a control panel.CompareMail-in-a-Box with Roundcube Webmail
Forward EmailForward Email is a self-hosted, open-source email service with forwarding, encrypted mailboxes, SMTP/IMAP/POP3, CalDAV/CardDAV, and webhooks.CompareForward Email with Roundcube Webmail
Should you self-host Roundcube Webmail?
Roundcube Webmail scores 71/100 on selfhost.directory (how scoring works) and ranks #5 of 109 in Email. It has 7 273 GitHub stars, +65 in the last 30 days.
It shipped 17 stable releases in the past year. The latest, 1.7.6, came out on 9 November 2026. New versions land roughly every 5 days.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is GPL-3.0-licensed and written mostly in PHP.
Its closest alternative on selfhost.directory is Listmonk (80/100, 24 283 stars). It scores higher overall, so compare the two before you pick. See Roundcube Webmail vs Listmonk side by side.
Features
- Access control lists (ACL)
- Address Book
- Customizable Skins
- IMAP folder management
- Import/export functions
- Internationalization
- Message search
- MIME and HTML message support
- Multiple sender identities
- OAuth/XOAUTH login
- PGP Encryption
- Plugin API
- Spell Checking
- Threaded message view
- Webmail (IMAP client)
Roundcube Webmail README
This is just a snapshot from the GIT repository and is NOT A STABLE version of Roundcube. It's not recommended to replace an existing installation of Roundcube with this version. Also using a separate database for this installation is highly recommended.
More in Email
RspamdOpen-source, self-hosted spam filtering daemon with Milter support for Postfix and Exim, Bayesian, DNSBL and SPF/DKIM/DMARC checks plus a web dashboard.
rss2newsletterrss2newsletter is a self-hosted, open-source CLI tool that turns RSS/Atom feeds into automated email newsletters using listmonk and Amazon SES.
rss-emailSelf-hosted RSS-to-email gateway: subscribe by emailing feed URLs, get updates in your inbox. Go binary or Docker, supports Outlook/Gmail.
rustmailerSelf-hosted email middleware unifying IMAP, SMTP, Gmail and Graph APIs into REST/gRPC with web client, webhooks, NATS, OAuth2. Single binary, no external deps.- SchleuderSchleuder is an OpenPGP-enabled mailing list manager with resending capabilities, allowing subscribers to communicate encrypted and pseudonymously.
SendPortalOpen-source, self-hosted email marketing app for newsletters: subscriber lists, tags, campaigns, tracking and a REST API, sending via SES, Mailgun, Postmark and more.
senloSelf-hosted open-source email infrastructure with visual MJML editor, REST API, automation, and multi-provider delivery (Resend, Postmark, SMTP).
sessySelf-hosted open-source dashboard for AWS SES email observability — track deliveries, bounces, opens, clicks, complaints without per-email markup.
ShiroMailShiroMail is a self-hosted temporary email platform with real SMTP ingest, domain management, verification code extraction, and an admin console with API access.
SimpleLoginOpen-source email alias server you can self-host: forward mail to your inboxes, reply and send through aliases, use custom domains, catch-all and PGP.
SimpleRelayA self-hosted multi-tenant SMTP relay routing email through upstream providers with a web dashboard for DNS validation and access control.
SMTPHook-GolangSelf-hosted Go pipeline that captures SMTP emails, parses them to JSON, and forwards to webhooks for alerting and automation.









0 comments