Create direct DNS records before installation:
A/AAAAfor the public hostnameA/AAAAfor the application hostnameA/AAAAfor the mail hostnameMXfor the mail domain pointing to the mail hostname
Do not proxy the mail hostname through an HTTP CDN. Confirm that inbound TCP ports 25, 80, and 443 reach the VPS.
The automated installer targets Ubuntu Server 24.04 LTS. It deliberately refuses unsupported operating systems and an existing marked MailStack installation. Review any existing Postfix, Dovecot, MariaDB, or Nginx workload before using the installer.
./install.sh --domain example.com --admin-email admin@example.com \
--server-ip 203.0.113.10 --non-interactive --plansudo ./install.sh --domain example.com --admin-email admin@example.com \
--server-ip 203.0.113.10 --non-interactiveThe initial administrator credential is written to a root-only file. Sign in, store the password in an approved password manager, change it immediately, then securely delete the file.
Send a message from an unrelated provider to postmaster@example.com. Confirm that Postfix accepts it, Dovecot writes it to Maildir, the ingestion service indexes it, and it appears in the application.
See docs/OPERATIONS.md for service and log commands.