homebox
Suite of Ansible scripts to deploy a fully functional mail server on Debian. Unobtrusive and automatic as much as possible, focusing on stability and security.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Note: The official site (the GitHub repository page) could not be fetched, so the following was written based on existing knowledge of the project. Details I'm not sure about (such as the license, specific component versions, and the choice of webmail) have been left out. Please refer to the repository README for authoritative information.
Overview
Homebox, maintained by progmaticltd, is a set of Ansible playbooks and roles. It automatically installs and configures a complete self-hosted mail system on a Debian server. The project aims to lower the barrier to running your own mail server: instead of configuring each mail-related component by hand, users get a private mail service that is secure by default, freeing them from dependence on large commercial mailbox providers.
Key Features
- Automated deployment: Uses Ansible to install and configure all components of the mail system in one go. It can be run repeatedly with consistent results.
- Sending and receiving mail: Built on mature open-source components such as Postfix (SMTP) and Dovecot (IMAP).
- Sender authentication: Configures mechanisms such as SPF, DKIM and DMARC to improve deliverability and reduce the chance of mail being treated as spam.
- Encrypted transport: Automatically requests and configures TLS certificates (e.g. Let's Encrypt) to encrypt connections between clients and the server.
- Anti-spam and security hardening: Integrates protections such as spam filtering, and uses safer configurations by default at the system level.
Target Users and Use Cases
- Individuals or families who care about privacy and want control over their own email data
- Tech enthusiasts who want to run a mail service on their own domain
- System administrators who need a repeatable, maintainable process for deploying mail servers
Core Advantages
- Packages complex mail server configuration into automated scripts, reducing errors from manual setup
- Configuration as code, which makes version control, migration and rebuilding easy
- Uses only open-source components, so users keep full control of their data
Deployment (Overview)
- Prepare a fresh Debian server (a VPS or a home machine will do) and have a domain of your own.
- Install Ansible on your local control machine, then clone the repository:
git clone https://github.com/progmaticltd/homebox. - Fill in the configuration file as described in the repository documentation, including the domain, users and host address.
- Run the Ansible playbooks to complete the deployment, then set up the DNS records (MX, SPF, DKIM, DMARC, etc.) as described in the documentation.
Technical Requirements
- Target system: Debian
- Control machine: Ansible must be installed
- A domain of your own, with the ability to modify its DNS records
- Ideally a server with a static public IP and mail ports (such as 25) not blocked by the provider
Things to Note
Running your own mail server requires ongoing maintenance, including updating the system, checking IP reputation and monitoring deliverability. Read the project documentation carefully before deploying.
Discover more
emailwiz
Luke Smith's bash script to completely automate the setup of a Postfix/Dovecot/SpamAssassin/OpenDKIM server on debian.
iRedMail
Full-featured mail server solution based on Postfix and Dovecot.
Courier MTA
Fast, scalable, enterprise mail/groupware server providing ESMTP, IMAP, POP3, webmail, mailing list, basic web-based calendaring and scheduling services.
DebOps
Your Debian-based data center in a box. A set of general-purpose Ansible roles that can be used to manage Debian or Ubuntu hosts.
EmailRelay
A small and easy to configure SMTP and POP3 server for Windows and Linux.
Enigma 1/2 BBS
Enigma 1/2 is a modern, multi-platform BBS engine with unlimited "callers" and legacy DOS door game support.