Skip to content

Getting started

One-command installation

One command installs the latest signed version, the HTTPS proxy and the maintenance agent, and activates your license.

Before you start

  1. A server that meets the requirements, with Docker and Docker Compose v2 installed.
  2. A hostname for the instance, for example mail.example.com, whose A record points to the server's IPv4 address.
  3. Your license key.

The command

Shell
curl -fsSL https://voaaro.com/install.sh | sudo bash -s -- \
  --key K7QF-2M9X-HC4D-8TWA \
  --domain mail.example.com \
  --email admin@example.com
  • --key is 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

  1. Checks the server (system, tools, free ports, A record, reverse DNS).
  2. Downloads the version manifest, verifies its signature (Ed25519), then the SHA-256 fingerprint of each archive; a modified file is refused.
  3. Installs Voaaro in /srv/voaaro: the Docker Compose stack (mail engine, Voaaro service, PostgreSQL, Valkey, antivirus), a deploy/compose/.env file with randomly generated secrets (permissions 600) and the backup encryption key deploy/compose/backup.key.
  4. Sets up the HTTPS proxy (see Proxy and certificate) and obtains the certificate.
  5. 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.
  6. Installs the voaaro command in /usr/local/bin, activates the license and displays the address of the first-start wizard.

All options

OptionPurpose
--key KEYlicense key (required for the first installation)
--domain NAMEinstance hostname (required for the first installation)
--email ADDRESSLet's Encrypt contact
--proxy caddy|nginx|noneHTTPS proxy; Caddy by default, or nginx if it is already installed and uses 80/443
--tls-cert FILE --tls-key FILEuse your own certificate (required with --proxy none)
--public-ip IPV4public address, if automatic detection gets it wrong
--dir FOLDERinstallation folder (default /srv/voaaro)
--channel stable|betarelease channel (default stable)
--version X.Y.Zinstall a specific version
--skip-dns-checkdo not require the A record (useful with your own certificate)
--yesdo 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?

Shell
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 cleared

Ports

PortUseOpen to the Internet
25SMTP: receiving mail from other serversyes
465SMTP with TLS: sending from mail appsyes
587SMTP with STARTTLSpublished, but the engine does not listen on it yet: set your apps to 465
993IMAP with TLS: reading from appsyes
80, 443HTTPS: console, webmail, API, MCP; 80 for the certificateyes
18190, 18543, 18180console, HTTPS and engine administrationno, 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

Shell
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.

Esc