Files

2.7 KiB

Changelog

2.0.0 (2026-10-28)

  • Renamed from mailwiz to emailwiz (command, /etc/emailwiz, /var/backups/emailwiz, /var/lib/emailwiz, /var/log/emailwiz.log, emailwiz-* units, file names). Breaking for 1.x installs: see README "Upgrading from mailwiz 1.x". apply retires the 1.x files (disabling old timers first); the config must be copied once by hand.
  • The fail2ban jail file is now /etc/fail2ban/jail.d/emailwiz.local, the same name upstream used, and is replaced in place instead of retired.
  • migrate-emailwiz is now migrate-upstream.
  • Test fixtures use generic names (example.org); the configuration captured from a real upstream install is kept as tests/fixtures/upstream-install.

Entries below describe releases published as mailwiz.

1.1.0 (2026-10-28, as mailwiz)

  • New emailwiz setup: guided first install that reproduces the whole service on a fresh Debian 13 host (config, packages, DNS pre-check, UFW, certificate, plan/apply, first account, validation). It asks before each optional step; --non-interactive takes values from the environment for automation. Safe to rerun; it won't replace a different existing config without confirmation.
  • New emailwiz tls-obtain: certbot certonly with --nginx/--apache (temporary challenge, no vhost edits) or --standalone, depending on what owns port 80; dry run first; real contact address.
  • New emailwiz firewall: TCP-only UFW allow rules for the mail ports; never touches SSH rules or policies; no-op if UFW is inactive. plan notes missing rules.
  • validate: certbot timer + reload hook checks; --renew-test.
  • Makefile (local, remote over SSH, lint/test/release) and install.sh (atomic tool install with .prev copy).
  • Portability: replaced [ -nt ] (not POSIX; flagged by Debian 13's shellcheck).
  • Tests: new setup and certbot container scenarios (121 checks total).

1.0.1 (2026-10-28, as mailwiz)

  • Fix: service reload/restart failures during apply were ignored (the action runner executes inside if !, where set -e is inactive), so apply could report success while a service ran its old configuration. Every step is now checked; a failed reload falls back to a restart, and a failed restart restores the previous files and exits 3. Found on a live server, covered by a regression test.
  • Retire the spamd ExecReload=+ drop-in added in 1.0.0. Its rationale (Debian tmpfiles ageing out PrivateTmp) was wrong: the PrivateTmp directories on the affected host were deleted manually. The stock unit is fine.
  • Backups no longer archive DKIM_DIR twice when it is inside /etc/postfix.

1.0.0 (2026-10-28, as mailwiz)

  • Initial Debian 13 rewrite of emailwiz (reference aefc7a8).