Skip to main content
WisMail

Ubuntu 24.04 Mail Server Setup Checklist

Published 2026-11-20

Running your own mail server is not hard on the software side; the trouble is the infrastructure around it. This is the order we recommend with WisMail on Ubuntu 24.04. Full step-by-step detail is in the install guide.

1. Check the infrastructure before installing

  • Outbound port 25: many cloud providers block it. Test with nc -vz gmail-smtp-in.l.google.com 25 from the server. If it is blocked you need it opened or you must send through a relay.
  • A clean IP: make sure the IP is not on public blocklists.
  • PTR: ask your provider to set reverse DNS of the IP to the host name (for example mail.example.com).
  • No other MTA: systemctl disable --now postfix exim4 if present.

2. Create the A and MX records

The host name mail.example.com points to the IP, and the MX of example.com points to that name. SPF, DKIM and DMARC come after the server is running (guide).

3. Install the package

sudo apt install ./wismail_<version>_amd64.deb

Wait about 15 seconds while the service creates its first configuration.

4. Install the trial key and run the wizard

A server without a key refuses connections, so install a key first (license activation):

sudo systemctl stop wismail
sudo /opt/wismail/wismail-tool license trial --email [email protected]
sudo systemctl start wismail

Then open https://<host-name>:4040/admin and follow the wizard: host name, MX check, primary domain, administrator account, message store location.

5. Firewall

Open 25, 465, 587, 110, 995, 143, 993, 80 and 443; limit port 4040 to your management network.

6. Certificate and testing

Request a Let's Encrypt certificate in web administration (certificate article), create a test user, log in to webmail, exchange mail with Gmail and inspect the headers.

Post-install checklist

  • PTR matches the host name.
  • SPF, DKIM and DMARC are valid.
  • No certificate warnings.
  • Scheduled backups, and a restore rehearsed on a test server.
  • ClamAV installed if you want virus scanning.

Related documentation

Try it on your own server for 30 days

Install the package, register the trial and test with real users and devices. No payment card needed.