# Hermes-Secure-Email-Gateway

> Self-hosted email security gateway and mail server with spam filtering, encryption, DKIM/DMARC/ARC, Dovecot mailboxes, Nextcloud, and Authelia SSO in one Docker stack.

- **Category:** Security
- **Licence:** AGPL-3.0
- **Latest version:** v261026
- **Open source:** open_core
- **Languages:** JavaScript, ColdFusion
- **Platforms:** Docker Compose
- **Tags:** Privacy, Encryption, Pgp, Dovecot, SMTP, Dmarc, Dkim, Mail Server, Nextcloud, Authelia, Open Source, Docker Compose, Agpl, Anti-Spam, Self Hosted, Email Server, Threat intelligence, Openldap, Phishing protection, Email security, Email gateway, Mailserver, Secure Email Gateway, Arc, Anti Phishing, Safe Links, Email Encryption, Anti Malware, S Mime

## Description

This self-hosted email security platform works as a secure email gateway, a full mail server, or both in hybrid mode. It bundles Apache SpamAssassin, ClamAV with third-party signature feeds, Amavisd-new, OpenDKIM, OpenDMARC, and OpenARC for mail filtering and authentication. Dovecot 2.4 provides IMAP/POP3/SMTP mailbox hosting with quotas, Sieve rules, and shared folders. Nextcloud adds file sync, webmail, calendars, and contacts. Authelia handles SSO with TOTP, WebAuthn, and Duo Push MFA. CipherMail manages S/MIME, PGP, and encrypted PDF delivery. An internal CA and Let's Encrypt automation handle certificates. The Community Edition is AGPLv3 and free for commercial use; Pro adds time-of-click URL protection, organizational signatures, email disclaimers, intrusion prevention UI, console firewall UI, and LDAP RemoteAuth. Deployment uses a single Docker Compose file with a guided installer, requiring Docker Engine 25+ and Compose v2 on Linux (tested on Ubuntu 24.04).

## Links

- [Homepage](https://github.com/deeztek/Hermes-Secure-Email-Gateway)
- [Website](https://www.hermesseg.io)
- [Documentation](https://docs.deeztek.com/shelves/hermes-seg-docker)
- [GitHub Repository](https://github.com/deeztek/Hermes-Secure-Email-Gateway)
- [Telegram](https://t.me/HermesSEG)
- [Matrix Community](https://matrix.to/#/#hermesseg:matrix.org)
- [Features Page](https://www.hermesseg.io/features/)
- [Pro Features](https://www.hermesseg.io/pro/)
- [Pricing](https://www.hermesseg.io/pricing/)
- [Download](https://www.hermesseg.io/download/)
- [GitHub Discussions](https://github.com/deeztek/Hermes-Secure-Email-Gateway/discussions)
- [GitHub Issues](https://github.com/deeztek/Hermes-Secure-Email-Gateway/issues)

---
Source: https://selfhost.directory/project/hermes-secure-email-gateway