Self-hosted app·Mail and private messaging
Roundcube hosting on a Swiss VPS.
Roundcube hosting on a 4 vCPU / 4 GB Swiss VPS in ALP1 for $12.99/mo: sizing, a Docker Compose stack, Debian 13 packages and the patching it needs.
- Roundcube
- PHP
- PostgreSQL
- Docker
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port15 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $116.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 4 vCPU, 4 GB RAM
- 160 GB NVMe local storage
- 15 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/05
What Roundcube is, and who maintains it.
Roundcube is a browser-based IMAP client written in PHP and published under the GPL. It does not store or deliver mail. It logs into the mailbox over IMAP with the user's own credentials, renders messages, and hands outgoing mail to an SMTP server. Its own database holds sessions, preferences, identities, the address book, saved responses and, if you enable it, a cache of message headers. The first stable release (0.1) appeared in March 2008. Roundcube now ships with cPanel and is the default webmail on Synology NAS devices, which is why many people have used it without knowing its name.
In November 2023 its founder, Thomas Brüderli, stepped back and the project joined Nextcloud, whose founder Frank Karlitschek became the formal maintainer. Nextcloud said Roundcube would remain a separate product rather than be folded into Nextcloud Mail, and so far it has. Version 1.7.0 was released on 10 May 2026 after almost four years of work. It needs PHP 8.1 or newer (up to 8.5), drops Oracle and MS SQL Server, improves OAuth2/OpenID Connect login, and makes public_html/ the mandatory document root, so config/, logs/ and temp/ can no longer be exposed to the web through a sloppy vhost. The 1.6 branch went into LTS mode the same day and now receives security fixes only. As of 19 October 2026 the current releases are 1.7.5 and 1.6.20.
The security history deserves plain words. CVE-2025-49113, a post-authentication remote code execution bug rated CVSS 9.9, was fixed in 1.6.11 and 1.5.10 on 1 June 2025 and was reported as exploited within days. CISA listed it as actively exploited on 20 February 2026, together with an SVG cross-site scripting flaw (CVE-2025-68461), at a time when Shodan counted more than 46,000 Roundcube instances on the open internet. Before that, the Winter Vivern group used a stored XSS (CVE-2023-5631) against Roundcube users. A Roundcube installation that is put online and then forgotten is a target, not a webmail.
02/05
Requirements and sizing.
Roundcube itself is light. The project suggests a PHP memory_limit of 64 MB, and requests are short-lived, so 20 PHP workers busy at the same moment would need about 1.3 GB in theory (20 × 64 MB), more concurrency than a ten-person office in Basel or Lugano will produce. The official 1.7.x-apache image is 253 MB compressed for amd64; the fpm-alpine variant is about 70 MB. The resources go to everything around Roundcube: the database, the mail server and, above all, the spam and virus filtering.
| Setup | Plan | Monthly |
|---|---|---|
| Roundcube only, pointing at an existing IMAP/SMTP provider, a handful of users | Starter: 2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB transfer | $6.99 |
| Roundcube + PostgreSQL + your own Postfix and Dovecot, small team | Standard: 4 vCPU, 4 GB RAM, 160 GB NVMe, 15 TB transfer | $12.99 |
| As above with rspamd and ClamAV, or more than about 50 mailboxes | Pro: 6 vCPU, 8 GB RAM, 320 GB NVMe, 20 TB transfer | $22.99 |
Treat the Pro threshold for ClamAV as a judgement, not a benchmark.
On Standard the first limit you reach is disk. 160 GB holds, for instance, 20 mailboxes with a 5 GB quota (100 GB, theoretical) plus the system, images and logs. Transfer will not be the problem: the plan includes 15 TB a month, roughly 500 GB a day (theoretical), and webmail does not come near it. VPS traffic is counted against that allowance; it is not unmetered.
| Port | Direction | Needed for |
|---|---|---|
| 443/tcp | inbound | the webmail itself, over HTTPS |
| 80/tcp | inbound | ACME certificate issuance and the redirect to HTTPS |
| 993/tcp | to the IMAP server | IMAP over TLS |
| 587/tcp | to the SMTP server | message submission with STARTTLS |
| 4190/tcp | to the IMAP server | ManageSieve, only with the managesieve plugin |
| 25/tcp | in and out | only if the same VPS runs your MTA |
Outbound port 25 is open on every VPS, so running Postfix next to Roundcube is possible. Whether your mail then lands in inboxes depends on SPF, DKIM, DMARC and a reverse DNS record that matches the server's name.
Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.
03/05
How to deploy it with us.
There are two sensible routes, and the choice is mostly about who does the patching.
Debian 13 packages. apt install roundcube roundcube-pgsql gives you the 1.6 LTS branch, maintained by the Debian security team: trixie currently carries 1.6.20+dfsg-0+deb13u1 (DSA-6579-1). With unattended-upgrades enabled, security fixes arrive without you lifting a finger. The price is staying on 1.6, without the 1.7 changes, and on past form upstream support for a branch ends when the next major version appears; 1.5 lost its security support the day 1.7.0 shipped. If you know you will not read release announcements, take this route.
Docker. The official roundcube/roundcubemail image follows upstream. The 1.7.x-apache tag is rebuilt for every 1.7 release and for PHP base-image updates, while full version tags such as 1.7.5-apache are frozen and never updated, so pin the series tag. The image speaks plain HTTP only and leaves TLS to whatever sits in front of it. Without database settings it falls back to SQLite, which is fine for one person and a poor choice for a shared office.
- 01Order Standard with Debian 13: deploy Cloud VPS Standard.
- 02Point an A record such as
webmail.example.comat the VPS's IPv4 address. - 03Install Docker Engine and the Compose plugin from Docker's Debian repository, and allow only SSH, 80 and 443 in the firewall.
- 04Create the three files below in one directory and run
docker compose up -d.
# compose.yaml
services:
caddy:
image: caddy:2
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- caddy_data:/data
depends_on:
- roundcube
roundcube:
image: roundcube/roundcubemail:1.7.x-apache
restart: unless-stopped
environment:
ROUNDCUBEMAIL_DEFAULT_HOST: ssl://mail.example.com
ROUNDCUBEMAIL_DEFAULT_PORT: "993"
ROUNDCUBEMAIL_SMTP_SERVER: tls://mail.example.com
ROUNDCUBEMAIL_SMTP_PORT: "587"
ROUNDCUBEMAIL_DB_TYPE: pgsql
ROUNDCUBEMAIL_DB_HOST: db
ROUNDCUBEMAIL_DB_NAME: roundcube
ROUNDCUBEMAIL_DB_USER: roundcube
ROUNDCUBEMAIL_DB_PASSWORD: ${DB_PASSWORD}
ROUNDCUBEMAIL_SKIN: elastic
ROUNDCUBEMAIL_UPLOAD_MAX_FILESIZE: 25M
ROUNDCUBEMAIL_PLUGINS: archive,zipdownload
volumes:
- ./config:/var/roundcube/config
- rc_temp:/tmp/roundcube-temp
depends_on:
- db
db:
image: postgres:17
restart: unless-stopped
environment:
POSTGRES_DB: roundcube
POSTGRES_USER: roundcube
POSTGRES_PASSWORD: ${DB_PASSWORD}
volumes:
- pg_data:/var/lib/postgresql/data
volumes:
caddy_data:
rc_temp:
pg_data:# Caddyfile
webmail.example.com {
reverse_proxy roundcube:80
}# .env (generate the value with: openssl rand -hex 24)
DB_PASSWORD=replace-meOnly Caddy publishes ports; Roundcube and PostgreSQL stay on the internal Compose network. Extra settings go into PHP files in ./config, which the image merges into its configuration. One detail catches nearly everyone: a 25 MB attachment grows by about a third once base64-encoded, so the SMTP server must accept messages of roughly 34 MB, and Postfix's default message_size_limit is 10,240,000 bytes. When users report that large attachments fail, the fix is usually in Postfix, not in Roundcube.
To update, run docker compose pull && docker compose up -d from a weekly timer, and read the release notes before any major upgrade; 1.6 to 1.7 moved the document root and removed two database backends. Back up the PostgreSQL dump (address books, settings) and, far more important, the maildir on the IMAP server. restic to an S3 bucket in our object storage works well for both; the bucket is S3, not a disk, so never run Dovecot or PostgreSQL on top of an rclone mount.
04/05
Cost.
| Item | Per month |
|---|---|
| Cloud VPS Standard (4 vCPU, 4 GB, 160 GB NVMe, 15 TB transfer, 1 Gbps) | $12.99 |
| With daily backups (+20 %) | $15.59 (theoretical: 12.99 × 1.2) |
250 GB object storage for off-server restic backups | $1.99 |
| Additional IPv4 | $2.00 |
| Standard on yearly billing (≈ −25 %) | ≈ $9.75, $116.99 a year |
Roundcube costs nothing to license; you pay for the server, full root and the included transfer. Full prices are on the pricing page. We take crypto only (Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins), with balances in US dollars. Top-ups run from $25 to $5,000 and carry a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500; a $100 top-up credits $110, about eight and a half months of Standard (theoretical: 110 ÷ 12.99). The unused paid part of a top-up is refundable within 14 days. Opening an account is no-KYC: an email address is enough.
The honest downside: this is a server, not a mail service. If Dovecot stops at seven in the morning, you are the one fixing it. Someone who simply wants a mailbox with a provider on call is better served by a mail provider; Roundcube on a VPS makes sense when you want to decide where the mail lives and who runs it.
05/05
Jurisdiction, limits and acceptable use.
If Roundcube and the IMAP server both run on your VPS in ALP1, the mailboxes, address books and settings are stored in Switzerland, on infrastructure operated by Hosta AG, a Swiss société anonyme. The revised Federal Act on Data Protection has applied since 1 September 2023, and in January 2024 the European Commission confirmed Switzerland's adequacy decision, so an EU company can host its staff mailboxes here without additional transfer safeguards. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia. None of this puts mail beyond the reach of every authority: a competent Swiss authority with a valid decision can require us to act, and we comply. The revision of the Swiss surveillance ordinance (VÜPF/OSCPT) put to consultation on 29 January 2025 is not in force as of that date, and the Federal Council has announced a second consultation. The wider picture is on our offshore hosting page.
If you host mail for other people, such as staff or clients, you decide what happens to their messages, so the data protection duties towards them are yours: securing the system, telling them how their data is handled, answering their requests.
What is not allowed on a Roundcube server with us:
- sending unsolicited bulk email, or leaving an MTA configured as an open relay;
- login pages that imitate another provider's or organisation's webmail, which we treat as phishing whichever software renders them;
- keeping an instance online that nobody maintains; a compromised Roundcube that starts sending spam is abuse from your VPS, whoever typed the commands.
A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to the customer, who must remove the content or justify it, and we act on a decision of a competent Swiss authority, or where the content is manifestly unlawful (Swico Code of Conduct Hosting 2025). To reach us, open a support ticket from the client panel.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardRecommendedSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Summit |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC consoleand full root access
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Can I run Roundcube without running my own mail server?
Yes. Point ROUNDCUBEMAIL_DEFAULT_HOST and ROUNDCUBEMAIL_SMTP_SERVER at any provider that allows third-party IMAP and SMTP clients, and the Starter plan is enough. The mail itself then stays with that provider, so only Roundcube's database (contacts, settings, sessions) sits in Switzerland.
Debian package or Docker image?
The Debian 13 package if you want security fixes to install themselves through unattended-upgrades and can live with the 1.6 LTS branch. The Docker image if you want 1.7 and are prepared to pull updates yourself, ideally on a schedule. Running an outdated image is worse than either.
Does Roundcube have two-factor authentication?
Not in core. The usual options are a third-party TOTP plugin installed through ROUNDCUBEMAIL_COMPOSER_PLUGINS, or delegating login to an OpenID Connect provider, which 1.7 handles better than 1.6. Either is worth the effort on an internet-facing login.
Can I send mail directly from the VPS?
Yes, outbound port 25 is open on every VPS. Deliverability is your work: SPF, DKIM and DMARC records, a matching reverse DNS entry, and a clean sending history on the IP address.
Can the mailboxes live on object storage?
No. Our object storage is S3-compatible buckets reached through an endpoint and access keys, not a block device you can format or mount under Dovecot. Use it for restic or rclone backups of the maildir and the database dump.
Sources
Every fact on this page, with its source
Checked 4 Nov 2026 unless noted.
Swiss law and authorities
EU and other countries
Industry, providers and software
- Roundcube wiki, Version History (PHP support per branch), checked 4 November 2026github.com
- Roundcube wiki, Installation (suggested memory_limit, public_html document root), revision of 2 October 2026github.com
- roundcubemail-docker README (environment variables, tag policy, SQLite default, HTTP only), checked 4 November 2026github.com
- Debian security tracker, DSA-6579-1 (roundcube 1.6.20+dfsg-0+deb13u1 for trixie), checked 4 November 2026security-tracker.debian.org
- BleepingComputer, CISA flags exploited Roundcube flaws (CVE-2025-68461, Winter Vivern, Shodan count), February 2026bleepingcomputer.com
- Swico, Code of Conduct Hosting (version in force since April 2025)swico.ch
Other references
- Roundcube, Security updates 1.6.20 and 1.7.5 released, 19 October 2026roundcube.net
- Roundcube, release news (security releases 24 May, 5 July, 9 August, 6 September, 19 October 2026), checked 4 November 2026roundcube.net
- Roundcube, Roundcube 1.7.0 released, 10 May 2026roundcube.net
- endoflife.date, Roundcube Webmail (support status per branch, end of 1.5 security support on 10 May 2026), updated 20 October 2026endoflife.date
- Roundcube, RoundCube Webmail 0.1-stable released, 4 March 2008roundcube.net
- Docker Hub, roundcube/roundcubemail tags (compressed image sizes), checked 4 November 2026hub.docker.com
- Nextcloud, Nextcloud provides new home for email giant Roundcube, 29 November 2023 (cPanel, Synology)nextcloud.com
- Nextcloud, Roundcube's future at Nextcloud – An interview with the founders, November 2023nextcloud.com
- Help Net Security, CVE-2025-49113 affected and fixed versions, 9 June 2025helpnetsecurity.com
- CISA, Known Exploited Vulnerabilities catalog, CVE-2025-49113 (added 20 February 2026)cisa.gov
- Postfix, postconf(5), default message_size_limitpostfix.org
ALP1·Swiss Alps
Your server in the Alps, ready when you are.
Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.
