Repository navigation
EmailZit 0.8.3
Backups keep working when a stray file sits next to them, and a restored server takes over the mail settings.
Changes
- A file EmailZit cannot read no longer costs the server its backup. An old certificate an administrator had put aside in the server's TLS folder belonged to root; the panel could not read it and the whole backup failed with "permission denied" — so the server had no backup at all. Only the files EmailZit itself needs (
secret.key, the panel certificate and its key) must be readable now; anything else in the folder is left out, named in the backup's manifest and written to the log. - A restore now takes over the mail settings. After restoring a backup on a new server, Postfix and Dovecot kept the name of the machine they were installed on until an administrator opened Settings → Mail and saved. The restore now marks the data directory and the panel writes the mail configuration of the backup at its next start, as the backup page has always promised.
- Spam lists: an entry with braces (
{or}) in the address is refused. Such an entry ends up in a Sieve script, where${…}would be a variable if a later script asked for the variables extension. Found by the fuzzer; no address uses these characters.
Checked before this release: every panel route against every role and every API route against every token scope; tests with the race detector; fuzzing of the parsers of untrusted input; gosec, staticcheck, govulncheck (Linux and Windows), Semgrep, Trivy, Gitleaks; OWASP ZAP against a fresh appliance; Trivy, Lynis, testssl.sh and Nuclei against the appliance image; upgrade from 0.8.2 and installation with install.sh on a fresh Debian 13 server; a backup of the public server e1.maxzit.com restored on a fresh appliance (customers, domains, mailboxes, aliases, DKIM keys and the mail settings all came over).
Install or update
curl -fsSLO https://github.com/Max-Zit/emailzit/releases/download/v0.8.3/install.sh
sudo sh install.sh --hostname mail.example.comExisting servers update from the panel (Updates and server). Appliance images are attached below (check them against SHA256SUMS-appliance).