Golub

Golub vs Afterlogic WebMail Lite

Afterlogic WebMail Lite is the free PHP webmail from Afterlogic. Golub covers the everyday features without PHP or MySQL. Here is an honest comparison.

55×smaller image to download
100×less memory at idle
33×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, set with a few environment variables.

Choose Afterlogic WebMail Lite if

  • You want an admin panel in the browser. Afterlogic is set up from a web admin page; Golub is set with environment variables.
  • You may move to Afterlogic's paid editions, which add more than mail.
  • You already run it and it does what your users need.

Measured side by side

Golub 0.3.0 and Afterlogic WebMail Lite 9.8.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
  • Afterlogic WebMail Lite392 MB
Memory at idle smaller is better
  • Golub4.6 MB
  • Afterlogic WebMail Lite478 MB
Inbox loads per second, 10 users bigger is better
  • Golub502
  • Afterlogic WebMail Lite15
GolubAfterlogic WebMail Lite
Image download7.1 MB392 MB
Image unpacked17.7 MB1.3 GB
Memory at idle4.6 MB478 MB
Peak memory, 10 users17 MB720 MB
Message list, 10 users502 req/s, 19 ms15 req/s, 655 ms
Message list, 50,000 messages70 req/s, 138 ms6 req/s, 1,705 ms
IMAP connections, 2,000 requests102,000
Sign in to inbox shown0.86 s1.83 s
Open the 50,000-message folder0.22 s1.35 s
Open a message0.32 s0.82 s

Afterlogic ran with MySQL 8.4, as in its own compose file; its image and memory figures include MySQL, which it needs. Its own container is 161 MB to download. Method and scripts. Afterlogic WebMail Lite is a trademark of its owners; this page is not affiliated with the Afterlogic WebMail Lite project.

Features

What each client offers out of the box.

GolubAfterlogic WebMail Lite
Folders and searchYesYes
Rich text and plain text, draftsYesYes
Contacts and groups, vCardYesYes
OpenPGP encryptionBuilt in, in the browserBuilt in
Admin panel in the browserNo, environment variablesYes
Single sign-on from a control panelBuilt inThrough its API
Your own name, logo and colourThree settingsAdmin panel and skins
Phone layoutYesYes
Languages4Many more
LicenseGPL-3.0AGPL-3.0

How they are built

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

GolubAfterlogic WebMail Lite
Written inGo SveltePHP JavaScript
Runs asOne binary or containerPHP a web server
DatabaseNoneMySQL, required
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 Afterlogic WebMail Lite

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

  1. Start Golub with the same IMAP and SMTP server Afterlogic WebMail Lite 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 Afterlogic WebMail Lite 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 Afterlogic WebMail Lite?

For reading and writing mail, yes: it talks to the same IMAP and SMTP server and users sign in the same way. Afterlogic WebMail Lite plugins and its admin panel settings do not carry over.

Can Golub and Afterlogic WebMail Lite 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 Afterlogic WebMail Lite's own settings and contacts 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