Once Stalwart is installed, can I remove it?

Your question

Before installing Stalwart, I’d like to know if I can uninstall it/remove it from my system.
That’s it.

Yes, Stalwart can be fully removed from your system.

The current documentation does not include a dedicated uninstall guide, but Stalwart is straightforward to remove manually since it is a self-contained installation.

Here is what you would typically do, depending on how you installed it:

Linux (install script / binary)

  1. Stop the service: sudo systemctl stop stalwart-mail
  2. Disable and remove the service: sudo systemctl disable stalwart-mail then delete the unit file (usually /etc/systemd/system/stalwart-mail.service)
  3. Remove the binary (e.g. /usr/local/bin/stalwart-mail or wherever it was placed)
  4. Remove the data/config directory (the installer defaults to /opt/stalwart-mail/)

Docker
Stop and remove the container, then remove the image and any named volumes you created.

Windows (NSSM)

  1. In an elevated PowerShell: nssm stop Stalwart then nssm remove Stalwart confirm
  2. Delete the C:\Program Files\Stalwart\ directory

There is no package manager hook or registry entry beyond the service definition, so deleting those files/directories is a complete removal.

Note: The docs do not have an explicit uninstall page, so the steps above are inferred from the installation docs. A community or staff member may be able to confirm or add detail.

This is an automated reply from the Stalwart Help Bot. Other community members may follow up if this answer is incomplete or wrong.