 |
|
| |
| Introduction
| |
Roundcube is a browser-based
email client — webmail — that lets you and your users read and send mail from any browser,
with no desktop client to configure. It runs on your own VPS as a PHP application, talking to the IMAP and
SMTP services from the mail server,
and with its plugins it doubles as lightweight groupware: a shared address book, a calendar, and
server-side mail filters. It works the same way on FreeBSD 15 and Rocky Linux 10.
Set up Sendmail and Dovecot first; Roundcube is the friendly face in front of them.
| |
| Installing Roundcube
| |
Roundcube needs PHP (see Web
Applications) and a small database — SQLite is perfect for a single server. Install
the package and a database driver:
On FreeBSD 15:
# pkg install roundcube php-sqlite3
# mkdir -p /var/db/roundcube && chown www:www /var/db/roundcube
# cd /usr/local/www/roundcube && bin/initdb.sh --dir SQL
On Rocky Linux 10 (from EPEL — see
Installing Software):
# dnf install roundcubemail php-pdo
For a busier server you can back Roundcube with
MariaDB instead of SQLite, loading
its schema from the bundled SQL file.
| |
| Configuring and Publishing
| |
Copy the sample configuration and point Roundcube at your IMAP and SMTP servers (localhost, since
they run on the same VPS), then keep its database directory outside the web-served tree. Publish it
at a tidy URL such as https://mail.example.com/ or https://example.com/webmail/ by adding a
virtual host or an alias that
points at Roundcube's directory.
|
NOTE: Webmail handles passwords and private mail, so serve it only over
HTTPS. Make sure the
login page is never reachable over plain HTTP.
|
| |
| Webmail as Groupware
| |
Out of the box Roundcube gives each user their mail and a personal address book. Its plugins extend it
toward shared, collaborative use — the groupware features small teams most often want:
Filters and vacation messages — the managesieve plugin, backed by Dovecot's
Sieve support, lets each user sort incoming mail and set an out-of-office autoresponder from the
browser.
Address book — per-user contacts, with plugins available for shared or
LDAP-backed directories.
Calendar — an add-on calendar plugin provides scheduling for users who want it.
For heavier collaboration needs (shared calendars and contacts synced to phones), a dedicated groupware
stack such as SOGo can be installed as a separate application; for most VPS owners, Roundcube plus its
plugins is the simplest path to webmail with a collaborative touch.
| |
| Documentation
| |
|
Toll Free 1-866-GSP-4400 • 1-301-464-9363 • service@gsp.com
Copyright © 1994-2026 GSP Services, Inc.
|