Before you start
- A server that meets the requirements, with Docker and Docker Compose v2 installed.
- A hostname for the instance, for example
mail.example.com, whose A record points to the server's IPv4 address. - Your license key.
The command
curl -fsSL https://voaaro.com/install.sh | sudo bash -s -- \
--key K7QF-2M9X-HC4D-8TWA \
--domain mail.example.com \
--email admin@example.com--keyis required for a first installation: the installer exchanges the key for a download token valid for 24 hours; if the key is unknown or revoked, it stops without installing anything.--domain(or--hostname): the instance's hostname.--email: the address given to Let's Encrypt for certificate notices.
What the installer does
- Checks the server (system, tools, free ports, A record, reverse DNS).
- Downloads the version manifest, verifies its signature (Ed25519), then the SHA-256 fingerprint of each archive; a modified file is refused.
- Installs Voaaro in
/srv/voaaro: the Docker Compose stack (mail engine, Voaaro service, PostgreSQL, Valkey, antivirus), adeploy/compose/.envfile with randomly generated secrets (permissions 600) and the backup encryption keydeploy/compose/backup.key. - Sets up the HTTPS proxy (see Proxy and certificate) and obtains the certificate.
- Installs the maintenance agent (systemd service and timer
voaaro-maintenance, every minute): backups, copying the renewed certificate to the mail engine, updates requested from the console. - Installs the
voaarocommand in/usr/local/bin, activates the license and displays the address of the first-start wizard.
All options
| Option | Purpose |
|---|---|
--key KEY | license key (required for the first installation) |
--domain NAME | instance hostname (required for the first installation) |
--email ADDRESS | Let's Encrypt contact |
--proxy caddy|nginx|none | HTTPS proxy; Caddy by default, or nginx if it is already installed and uses 80/443 |
--tls-cert FILE --tls-key FILE | use your own certificate (required with --proxy none) |
--public-ip IPV4 | public address, if automatic detection gets it wrong |
--dir FOLDER | installation folder (default /srv/voaaro) |
--channel stable|beta | release channel (default stable) |
--version X.Y.Z | install a specific version |
--skip-dns-check | do not require the A record (useful with your own certificate) |
--yes | do not ask anything |
First start
The installer displays an address of the form https://mail.example.com/#code=…. Open it: the wizard asks for your name, your address (for example you@example.com) and a password of at least 12 characters, then creates the super administrator and the domain of your address, with its DKIM keys. The code is in the part of the address after #: it never goes through the proxy logs.
Two-factor authentication is mandatory for the super administrator: it is requested at the first sign-in.
Lost the wizard's address, or prefer the command line?
sudo voaaro admin create --email you@example.com --name "Your name" # displays a temporary password
sudo voaaro admin reset --email you@example.com # new temporary password, two-factor authentication clearedPorts
| Port | Use | Open to the Internet |
|---|---|---|
| 25 | SMTP: receiving mail from other servers | yes |
| 465 | SMTP with TLS: sending from mail apps | yes |
| 587 | SMTP with STARTTLS | published, but the engine does not listen on it yet: set your apps to 465 |
| 993 | IMAP with TLS: reading from apps | yes |
| 80, 443 | HTTPS: console, webmail, API, MCP; 80 for the certificate | yes |
| 18190, 18543, 18180 | console, HTTPS and engine administration | no, 127.0.0.1 only |
Ports published by Docker bypass the ufw firewall: do not open anything else and never publish the administration ports.
Useful commands
sudo voaaro version # installed version
sudo voaaro status # container status
sudo voaaro logs web # logs of a service
sudo voaaro backup # immediate backup
sudo voaaro update --check # is an update available?Next: DNS.