
emailwiz
Bash-based installer that deploys a secure Debian/Ubuntu mail server stack.

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. (github.com)
Categories:
Tags:
Tech Stack:
Similar Services

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.

Postal
Open source mail delivery platform for inbound and outbound email
Postal is an open source mail delivery platform for sending and receiving email, with SMTP support, web-based management, and tools for running your own SendGrid-style se...


Mail-in-a-Box
Turnkey email server with webmail, DNS, TLS, and admin panel
Mail-in-a-Box is a one-click mail server appliance for Ubuntu, bundling SMTP/IMAP, webmail, DNS, TLS automation, backups, and an admin control panel.

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.

Stalwart Mail Server
All-in-one mail and collaboration server for modern and legacy protocols
All-in-one open-source mail and collaboration server with SMTP, IMAP, JMAP, CalDAV, CardDAV, and WebDAV, plus integrated anti-spam and phishing protection.

Mailu
Docker-based mail server with webmail and admin interface
Mailu is a full-featured mail server distributed as Docker images, providing SMTP/IMAP/POP3, webmail, administration UI, and built-in security and anti-spam features.
Bash