
emailwiz
Bash-based installer that deploys a secure Debian/Ubuntu mail server stack.
2.2k stars 341 forks last commit first released GPL-3.0
Slowing down
No commits since 4 May 2025. Check the issue tracker before you rely on it.

emailwiz is a Bash-based installer for Debian/Ubuntu that automatically deploys a complete mail server stack comprising Postfix, Dovecot, SpamAssassin, and OpenDKIM, with TLS via Certbot. It configures PAM-based logins and security features like fail2ban.
Key Features
- Automates installation and configuration of Postfix, Dovecot, SpamAssassin, OpenDKIM, and Certbot TLS
- Links Postfix and Dovecot securely with native PAM log-ins
- Includes fail2ban for server security
- Provides guidance and finishing steps for DNS records (MX, SPF, DMARC, DKIM)
- Offers an isolated/self-signed certificate option for private environments
- Targets Debian/Ubuntu as the operating system
Use Cases
- Deploy a standalone mail server for a small business or home lab on Debian/Ubuntu
- Set up DKIM, SPF, DMARC and TLS to improve email deliverability
- Rapid provisioning of a mail server with minimal manual configuration
Limitations and Considerations
- No graphical webmail interface is installed by default; a mail client is expected
- DNS configuration is required (MX, SPF, DMARC, DKIM) for proper deliverability
- An isolated/self-signed certificate mode exists but will not work for public mail delivery
- The project emphasizes UNIX user accounts (no SQL database)
Conclusion
emailwiz provides an automated, script-driven path to a secure, mail-server setup on Debian/Ubuntu, reducing manual configuration and ensuring standard mail components and DKIM/TLS are in place. It is linked from the author’s site and maintained as a Bash script intended for self-hosted deployments.
Categories:
Tags:
Tech Stack:
Similar to emailwiz
OpenSMTPD
Secure, lightweight SMTP server implementation compliant with RFC 5321
OpenSMTPD is an open-source, minimal SMTP daemon from the OpenBSD project providing an RFC-compliant MTA with privilege separation, table backends, filters and TLS support.
Dovel
Simple Go-based SMTP server for receiving and sending mail
Lightweight SMTP server written in Go that receives and sends email via a single JSON config and executable hooks; supports per-user DKIM and TLS.


docker-mailserver
Containerized mail server stack for SMTP and IMAP with anti-spam
Production-ready mail server stack in a Docker container with SMTP, IMAP/POP3, LDAP auth, anti-spam/AV, DKIM/DMARC, and optional OAuth2 support.

mailcow: dockerized
Docker-based email server suite with a web admin interface
Mailcow is a dockerized mail server suite providing SMTP/IMAP, webmail, anti-spam/anti-virus, and domain/mailbox administration via a unified web UI.
Mox
Modern, secure, all-in-one mail server for self-hosted email
All-in-one secure mail server with SMTP, IMAP, webmail, automatic TLS (ACME), and built-in SPF/DKIM/DMARC plus junk filtering for low-maintenance domains.
Modoboa
Mail hosting and management platform with web UI and webmail
Modoboa is an open source mail server management platform with a modern web UI, integrating Postfix and Dovecot with admin tools, webmail, calendar, and address book.
