This is the home documentation for "Homebox", and set if Ansible scripts to deploy a fully functional and secure mail server at home or online.

The source code is on GitHub.

This project is for you if:

  • You are interested to host your emails yourself, for privacy, security or any other reason.
  • You want your server to be secure against both physical and remote intrusion.
  • You want a low maintanance box that keep itself updated automatically.
  • You prefer security and stability over latest features.
  • You trust the Debian community to push security updates.

Philosophy

  • You should be able to upgrade anything installed via apt command. No git clone / wget / curl here, ever.
  • If you are using your own hardware, the disk will be fully encrypted using LUKS. Nobody will be able to steal your hardware and your information.
  • AppArmor is activated on the first boot, and all the services are configured to support it. This makes your server very safe against remote intrusion, even when using 0-day vulnerabilities.
  • You can set up multiple backup destination, local and remote, all encrypted.
  • A lot of default choices made towards simplicity and KISS principle. and safety.
  • Attention to details, keep focused on the nitty-gritty features of self hosting.

Main components

  • Operating System: Debian Stretch (stable)
  • Authentication: OpenLDAP
  • Mail transfer agent: Postfix
  • Mail delivery agent: Dovecot
  • Antispam: RSpamd
  • Antivirus: ClamAV
  • Webmail: RoundCube
  • Jabber: ejabberd
  • DNS: bind
  • Git server: gogs
  • Bittorrent station: transmission

Other projects to mention

If you are interested in self-hosting, you will find a lot of interesting projects on internet, for instance:

  • Sovereign: A different target, but a similar deployment approach using Ansible.
  • yunohost: Contains a lot of plugins and features, not all of them are stable, but it is worth testing.
  • mailinabox, more oriented to online hosting, but very good as well.
  • and many...

All have plenty of features, but maybe a different approach to self-hosting, though.