GitHub RadarBlue team tool
Hermes Secure Email Gateway is a Free Open Source Secure Email Gateway and Email Server Primary language: JavaScript. 109 stars.
Project links:Open GitHub projectBack to radar
<p align="center"> <a href="https://www.hermesseg.io"> <img alt="Hermes SEG logo" title="Hermes Secure Email Gateway" src="docs/images/hermes-logo-mark.png" width="120"> </a> </p>
<h1 align="center">Hermes Secure Email Gateway and Email Server</h1>
<p align="center"> <strong>Self-hosted email security, mail server, and Nextcloud — one stack, one Docker Compose file.</strong><br> Open-source spam & malware filtering, S/MIME & PGP encryption, DKIM/DMARC/ARC, mailboxes, webmail, and SSO.<br> Pro adds time-of-click link protection — the inbound-link defense you'd otherwise pay Proofpoint or Mimecast for. </p>
<p align="center"> <a href="https://www.hermesseg.io/features/">Features</a> · <a href="https://www.hermesseg.io/pro/">Pro</a> · <a href="https://www.hermesseg.io/pricing/">Pricing</a> · <a href="https://docs.deeztek.com/shelves/hermes-seg-docker">Docs</a> · <a href="https://www.hermesseg.io/support/">Support</a> </p>
<p align="center"> <a href="https://github.com/deeztek/Hermes-Secure-Email-Gateway/releases"><img alt="Latest pre-release" src="https://img.shields.io/github/v/release/deeztek/Hermes-Secure-Email-Gateway?include_prereleases&label=pre-release&color=ee6c2b"></a> <a href="https://github.com/deeztek/Hermes-Secure-Email-Gateway/stargazers"><img alt="GitHub stars" src="https://img.shields.io/github/stars/deeztek/Hermes-Secure-Email-Gateway?style=social"></a> <a href="https://www.gnu.org/licenses/agpl-3.0.html"><img alt="License: AGPL v3" src="https://img.shields.io/badge/license-AGPLv3-blue.svg"></a> <a href="https://github.com/deeztek/Hermes-Secure-Email-Gateway/issues"><img alt="GitHub issues" src="https://img.shields.io/github/issues/deeztek/Hermes-Secure-Email-Gateway?color=586069"></a> <a href="https://matrix.to/#/#hermesseg:matrix.org"><img alt="Matrix" src="https://img.shields.io/badge/matrix-%23hermesseg%3Amatrix.org-0DBD8B?logo=matrix&logoColor=white"></a> <a href="https://t.me/HermesSEG"><img alt="Telegram" src="https://img.shields.io/badge/telegram-HermesSEG-26A5E4?logo=telegram&logoColor=white"></a> </p>
<p align="center"> <em> Deployable as a gateway in front of Microsoft 365 / Google Workspace / Exchange, as a full mail server with built-in mailboxes, or in hybrid mode. </em> </p>
<!-- Screenshots row. Add these PNGs under docs/images/screenshots/ in the repo, or replace the src URLs with absolute hermesseg.io / imgur URLs if you prefer to keep binaries out of git history. --> <p align="center"> <img alt="Admin Dashboard" src="docs/images/screenshots/dashboard.png" width="32%"> <img alt="Message History" src="docs/images/screenshots/message-history.png" width="32%"> <img alt="Organizational Signatures" src="docs/images/screenshots/organizational-signatures.png" width="32%"> </p>
---
---
Hermes Secure Email Gateway is a Free Open Source Secure Email Gateway and Email Server.
It provides spam, virus, and malware protection through Apache SpamAssassin, ClamAV, and Amavisd-new; full in-transit and at-rest email encryption via SMTP TLS, S/MIME, PGP, encrypted PDF (powered by CipherMail), and Dovecot mail-crypt; email archiving; integrated mailbox hosting on Dovecot with per-user quotas, aliases, shared folders, Sieve rules, vacation auto-reply, and mobile-device autoconfiguration; file sync, webmail, calendars (CalDAV), and contacts (CardDAV) through Nextcloud; a local user directory and single sign-on via OpenLDAP and Authelia — with multi-factor authentication via TOTP, WebAuthn, and Duo Push; and modern email authentication standards including SPF, DKIM signing and verification, DMARC, and ARC through OpenDKIM, OpenDMARC, and OpenARC.
Hermes combines these Open Source technologies under one unified web-based administration console for easy management of your organization's inbound and outbound email, mailbox users, encryption keys, and authentication policies. End users get a self-service portal for managing their own signatures, sieve rules, vacation messages, app passwords, and mobile-device profiles.
Hermes can be deployed three ways:
This Docker Edition packages the entire stack as a set of containers managed by Docker Compose, replacing the legacy bare-metal Ubuntu installer with a portable, reproducible deployment.
Looking for a managed version? Hermes is self-hosted by design. If you want to support development and get vendor support, see Pro pricing — per-server licensing, no per-mailbox fees.
Hermes ships in two editions:
| Edition | License | What you get | |---|---|---| | Community | AGPL v3 — free, open source | The entire mail gateway and email server stack. All core security, encryption, mailbox hosting, and administration features. | | Pro | Commercial — see EULA | Everything in Community plus 6 advanced features (see Pro Features below). Pricing → |
A Pro license is purchased separately. Community Edition needs no license file and works fully without one.
The project is licensed under AGPLv3 (`LICENSE`); a small set of proprietary Pro Edition files are excluded from the AGPL grant and governed by the Pro EULA. See `LICENSING.md` for the authoritative breakdown — the per-file header controls which license applies.
A condensed list. See hermesseg.io/features for the full feature page with screenshots.
.mobileconfig profiles (iOS) and CalDAV/CardDAV autodiscoveryPro Edition adds the following capabilities on top of everything in Community. Full Pro feature page →
| Pro Feature | What it does | |---|---| | Email disclaimers | Per-domain outbound disclaimer templates, applied at the milter level. Form-based template renderer with reusable templates. | | Organizational signatures | Centrally-managed per-domain employee signature templates with placeholder substitution (employee name, title, phone, email, department, organization info). Renders on every outbound message. Community Edition has Personal Signatures (per-user, free-form) only. | | Intrusion Prevention (IPS) | Web UI for managing Fail2ban jails, ban thresholds, ban duration, whitelists. Real-time view of active bans. | | Console firewall | Web UI for managing the host firewall protecting the admin console (port allowlisting, source-IP restriction). | | LDAP RemoteAuth | Per-domain pass-through authentication to one or more external LDAP servers (including Microsoft Active Directory). End users authenticate against your existing directory; Hermes provisions mailboxes on first successful login. Supports STARTTLS and LDAPS. | | Link Guard | Time-of-click URL protection for inbound mail — comparable to Microsoft Safe Links and Proofpoint URL Defense. Links are rewritten to a Hermes redirect and the destination's reputation is checked at the moment the user clicks — catching links weaponized after delivery. Layered verdicts (heuristics + URLhaus / OpenPhish blocklist feeds + optional Google Safe Browsing / VirusTotal), open-redirect detection, an operator-managed list of abused cloud-storage / redirector hosts, and optional guarded redirect-chain following. Admin-configurable per-tier actions and outbound link restoration. Runs in-stack or on a separate host. |
Hermes SEG Docker Edition runs as 19 containers orchestrated by Docker Compose:
| Container | Purpose | |---|---| | hermes_unbound | Recursive DNS resolver for the stack | | hermes_db_server | MariaDB — Hermes, Authelia, Nextcloud, OpenDMARC, CipherMail, Syslog datab