finds.dev

LukeSmithxyz/emailwiz

Script that installs/configures a Dovecot, Postfix, Spam Assassin, OpenDKIM Debian web server

View on GitHub

★ 2,159ShellGPL-3.0updated May 2025

// the take

A single shell script that automates a full Postfix/Dovecot/SpamAssassin/OpenDKIM email stack on Debian/Ubuntu. It targets developers and sysadmins who want to self-host email without a control panel like Mailcow or iRedMail. The whole thing is one file, which is either the point or the problem depending on your needs.

Uses Unix system accounts directly — no SQL backend, no extra auth layer to debug. Generates DKIM keys and outputs the exact DNS records you need, which is the step that trips up most first-timers. Includes fail2ban integration for Postfix/Dovecot out of the box. The isolated/self-signed mode for LAN notification servers is a genuinely useful addition most similar scripts don't bother with.

A single-file bash script that mutates a live system with no rollback — if it fails halfway through, you get to debug a partially configured mail stack by hand. No multi-domain support built in; adddomain.sh exists but is a separate afterthought script. User management is raw useradd/usermod with no tooling around aliases, forwards, or quotas. SpamAssassin is notoriously heavy for a small VPS and the script makes no attempt to configure it beyond installation, so you get default rules that will both miss spam and false-positive legitimate mail.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
2,159
Forks
341
Language
Shell
License
GPL-3.0
Last commit
4 May 2025

// nearby

If emailwiz isn't quite it.

All repos →