Golub

Golub vs Roundcube

Roundcube is the most widely used open-source webmail. Golub covers the everyday features in a much smaller package. Here is an honest comparison.

40×smaller image to download
10×less memory at idle
10×more inbox loads per second
200×fewer IMAP connections

Choose Golub if

  • You want little to run. One 7 MB container, no PHP, no web server, no database to back up or upgrade.
  • You host many mailboxes. One IMAP connection per user and a fraction of the memory per server.
  • Your users want a modern mailbox that works the same on a phone and a desktop, with dark mode and OpenPGP built in.
  • You log users in from a panel. Single sign-on and branding are built in, not plugins.

Choose Roundcube if

  • You rely on plugins such as calendars, CardDAV sync or two-factor sign-in. Roundcube has a large plugin ecosystem.
  • You need an LDAP address book or one of the many languages Roundcube is translated into.
  • You already run it and it does what your users need.

Measured side by side

Golub 0.3.0 and Roundcube 1.7.7 reading the same mailbox on the same server, each from its official image. Bars are drawn to scale.

Image download smaller is better
  • Golub7.1 MB
  • Roundcube281 MB
Memory at idle smaller is better
  • Golub4.6 MB
  • Roundcube47 MB
Inbox loads per second, 10 users bigger is better
  • Golub502
  • Roundcube49
GolubRoundcube
Image download7.1 MB281 MB
Image unpacked17.7 MB795 MB
Memory at idle4.6 MB47 MB
Peak memory, 10 users17 MB173 MB
Message list, 10 users502 req/s, 19 ms49 req/s, 205 ms
Message list, 50,000 messages70 req/s, 138 ms23 req/s, 425 ms
IMAP connections, 2,000 requests102,000
Sign in to inbox shown0.86 s1.24 s
Open the 50,000-message folder0.22 s0.31 s
Open a message0.32 s0.88 s

Roundcube ran with its defaults (Apache and SQLite). Method and scripts. Roundcube is a trademark of its owners; this page is not affiliated with the Roundcube project.

Features

What each client offers out of the box. “Plugin” means it is available through a Roundcube plugin, bundled or third-party.

GolubRoundcube
Folders, search, threadsYesYes
Rich text and plain text, draftsYesYes
Identities and signaturesYesYes
Contacts and groups, vCardYesYes
LDAP address bookNoYes
OpenPGP encryptionBuilt in, in the browserPlugin
Calendar, CardDAV, two-factor sign-inNoPlugins
Single sign-on from a control panelBuilt inPlugins
Your own name, logo and colourThree settingsConfig and skins
Phone layout and dark modeYesYes
Remote images through a privacy proxyYesNo
Live updates over IMAP IDLEYesPolling
Languages4Many more
LicenseGPL-3.0GPL-3.0

How they are built

Both are web clients for an existing IMAP and SMTP server. The difference is everything around them.

GolubRoundcube
Written inGo SveltePHP JavaScript
Runs asOne binary or containerPHP a web server
DatabaseNoneMySQL PostgreSQL SQLite
Settings and contactsIn the user's own mailboxIn the database
IMAP connectionsOne per user, kept openA new one per request
UpdatingReplace the containerUpdate files and the database

Switching from Roundcube

Mail stays on your IMAP server, so nothing moves. You can run Golub next to Roundcube while your users try it.

  1. Start Golub with the same IMAP and SMTP server Roundcube uses. Installation
  2. Let users sign in with the same address and password. Folders and mail are there as they were.
  3. Bring contacts over. Export them from Roundcube as vCard and import the file in Golub's address book.
  4. Set up identities and signatures again in Golub's settings; they are saved in the mailbox from then on.
  5. Point your panel's webmail link at Golub, or use single sign-on.

Questions

Is Golub a drop-in replacement for Roundcube?

For reading and writing mail, yes: it talks to the same IMAP and SMTP server and users sign in the same way. Roundcube plugins do not carry over.

Can Golub and Roundcube run on the same server?

Yes. Both are only clients of your mail server, so they can run side by side on different addresses or ports while you compare them.

Will users lose mail or folders when switching?

No. Mail and folders live on the IMAP server and both clients show the same mailbox. Only Roundcube's own settings, contacts and signatures stay in its database; contacts can be exported as vCard.

Why is Golub so much smaller and faster?

It is one Go binary with no PHP runtime, web server or database, and it keeps each user's IMAP connection open instead of logging in again on every request.

Your mail server deserves a better webmail.

The real interface with made-up mail. Nothing to install, no sign-up.

Golub showing the inbox with an open message