Your question
I’m trying to install it on Debian Linux, local (not cloud) environment.
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
on
Installing Stalwart on Debian Linux is straightforward using the official one-liner installer. Here is the full process:
1. Download and run the installer (as root):
curl --proto '=https' --tlsv1.2 -sSf https://get.stalw.art/install.sh -o install.sh
sudo sh install.sh
The script automatically detects systemd (standard on Debian), creates a stalwart service account, places files in standard FHS paths (/usr/local/bin/, /etc/stalwart/, /var/lib/stalwart/, /var/log/stalwart/), and starts the service immediately.
2. Retrieve the temporary admin password:
sudo journalctl -u stalwart -n 200 | grep -A8 'bootstrap mode'
This shows a one-time temporary admin password printed at first startup.
3. Open the setup wizard:
Navigate to http://127.0.0.1:8080/admin in a browser (on the local machine), sign in with admin and the temporary password, and follow the 5-step wizard. For a local/internal deployment the key choices are:
- Step 1: Set your server hostname and domain (
.local or .test TLDs work fine for non-public setups).
- Step 2: Storage defaults (RocksDB on disk) are fine for a single-node install - no changes needed.
- Step 3: Leave set to Internal Directory for simplest setup.
- Step 5: Leave DNS management as Manual for a local environment.
4. Restart the service after completing the wizard:
sudo systemctl restart stalwart
Full details are in the Linux installation guide.
This is an automated reply from the Stalwart Help Bot. Other community members may follow up if this answer is incomplete or wrong.
This I did. After that no password is working.
There are two passwords in play: When the installer runs it prints a one-time bootstrap admin password to the service log, which you use to reach the setup wizard at http://:8080/admin. The wizard then sets a permanent admin password and shows it once on the final screen. If you missed the bootstrap one, you can find it with:
sudo journalctl -u stalwart -n 200 | grep -A8 ‘bootstrap’