Skip to content

Install

You need a VPS running Debian 12 or Ubuntu 22.04 or later with a public IPv4 address, root access, at least 2 GiB of RAM and 10 GiB of disk. Point an A record (for example mail.example.com) at it and set the PTR record at your provider to the same name. Ports 25, 80, 443, 465, 587, 993 and 995 must be free, and outbound port 25 must be open — some providers block it until you ask.

Terminal window
curl -fsSL https://get.maildock.app/install.sh | sh -s -- --hostname mail.example.com

The bootstrap installs Docker and mailctl, runs a preflight check on ports, DNS, memory and disk, brings the stack up, and prints the address of the Setup Wizard. Open it in a browser to finish.