selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Roundcube Webmail logo

Self-host Roundcube Webmail

1.7.6

Browser-based IMAP webmail with a desktop-like UI

ReleaseOpen SourceGPL-3.0
docker run -e ROUNDCUBEMAIL_DEFAULT_HOST=mail -e ROUNDCUBEMAIL_SMTP_SERVER=mail -p 8000:80 -d roundcube/roundcubemail
Updated3 days ago
LanguagePHP
Setup difficultyModerate
MobileResponsive
ThemeDark mode
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
Docker
roundcube/roundcubemail
Mailbox list in the Elastic skin on a desktop screenMessage viewer with remote-content privacy protectionMailbox view in dark modeComposing an HTML message with attachmentsAddress book listing with LDAP-sourced contactsManaging IMAP folders in the user settingsEnigma plugin settings for OpenPGP signing and encryptionManagesieve message filter configurationMailbox list on a phone-sized responsive layout

What 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

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

Roundcube Webmail

roundcube.net

Tests Status

ATTENTION

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.

How to install Roundcube Webmail

Install Roundcube Webmail with Docker

Environment variables
ROUNDCUBEMAIL_DEFAULT_HOST, ROUNDCUBEMAIL_SMTP_SERVER, ROUNDCUBEMAIL_DB_TYPE, ROUNDCUBEMAIL_DB_HOST, ROUNDCUBEMAIL_DB_PASSWORD
docker run -e ROUNDCUBEMAIL_DEFAULT_HOST=mail -e ROUNDCUBEMAIL_SMTP_SERVER=mail -p 8000:80 -d roundcube/roundcubemail

Variants: apache (complete webserver), fpm and fpm-alpine, plus nonroot images; HTTPS needs a reverse proxy in front.

How to configure Roundcube Webmail

  • ROUNDCUBEMAIL_DEFAULT_HOSTHostname of the IMAP server to connect to; prefix tls:// (STARTTLS) or ssl:// (SSL/TLS) for encrypted connections
  • ROUNDCUBEMAIL_DEFAULT_PORT143IMAP port number to connect to
  • ROUNDCUBEMAIL_SMTP_SERVERHostname of the SMTP server used for sending mail; tls:// or ssl:// prefix for encrypted connections
  • ROUNDCUBEMAIL_SMTP_PORT587SMTP port number
  • ROUNDCUBEMAIL_USERNAME_DOMAINDomain that is appended automatically to login user names

Roundcube Webmail releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Email

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…