Rave

Docs › Proxmox (LXC, no Docker)

Rave on Proxmox VE (LXC, no Docker)

One command on a Proxmox VE 8 or 9 host makes a Debian 13 container with Rave, a Dovecot mail store and Apache Tika for attachment search: the same pieces as the Docker stack, installed from Debian packages and Rave's release tarball, without Docker.

On the Proxmox host, as root (the shell under Datacenter → your node → Shell):

bash -c "$(curl -fsSL https://raw.githubusercontent.com/henrikekblad/rave/main/deploy/lxc/proxmox-rave.sh)"

It asks:

Then it downloads the Debian 13 template if needed, creates and starts an unprivileged container (with nesting, which systemd needs for the services' sandboxing), and runs the installer in it. A few minutes later it prints the address.

Every question can be answered beforehand in the environment (RAVE_DOMAIN, RAVE_HTTPS, CTID, RAM_SIZE, NET, ...; the list is at the top of the script), and DRY_RUN=1 shows the pveam/pct commands without running anything:

DRY_RUN=1 RAVE_DOMAIN=mail.example.com bash proxmox-rave.sh

What is in the container #

Service Port
Rave 3001 The webmail. With caddy, only on localhost behind Caddy on 80/443.
Dovecot 2.4 localhost only (IMAPS 993 if chosen) The mailboxes, /srv/vmail.
Apache Tika localhost only Reads PDF and Office attachments (and scans, with OCR) for search. No internet access.

Settings are in /etc/rave/rave.env. Details, file locations and the sandboxing of the services: deploy/lxc/README.md.

Resources #

Default
CPU 2 cores Busy while a large mailbox is read for the first time.
RAM 2 GB, 3 GB with OCR Rave 150–500 MB, Dovecot 50–200 MB, Tika up to 1.5 GB (2.5 GB with OCR).
Disk 16 GB The mail, plus Rave's cache and search index (about as large again). Grow it with pct resize <id> rootfs +20G.

Users #

pct exec <id> -- rave-admin adduser anna@example.com      # asks for a password
pct exec <id> -- rave-admin admin anna@example.com on     # make her an administrator
pct exec <id> -- rave-admin list

The login is the user's e-mail address. Administrators can also add users in the web (Settings → Administration → Users). All commands: rave-admin help.

Updating #

pct exec <id> -- rave-admin update

It downloads the newest release, checks its SHA-256 checksum, copies Rave's databases, switches to the new version and starts it, and goes back by itself if the new version does not start. rave-admin rollback returns to the previous version later. Debian's packages update with apt update && apt upgrade in the container.

Backups #

Keep backups as private as the mail: Rave's data holds the keys that decrypt the users' stored account logins.

Compared with the Docker stack #

Without Proxmox #

install.sh works on any Debian 13 machine or VM:

curl -fsSLO https://raw.githubusercontent.com/henrikekblad/rave/main/deploy/lxc/install.sh
RAVE_DOMAIN=mail.example.com bash install.sh

See deploy/lxc/README.md.

This page is docs/proxmox.md in the Rave repository.