Skip to content

Releases

v0.4.5

Choose a tag to compare

@KilimcininKorOglu KilimcininKorOglu released this 30 Nov 18:47

Added

  • Added BIMI DNS lookup, SVG proxy, and webmail avatar badge support.
  • Completed hermex-admin CLI parity with admin API, UI routes, template-level flags, and directory/store operations.
  • Allowed opening webmail message rows in a new tab via link.
  • Added live E2E test suites under scripts/e2e/ for IMAP, SMTP, POP3, CalDAV/CardDAV/WebDAV, ActiveSync, EWS/Autodiscover, MAPI/HTTP/NSPI, and Webmail API.

Changed

  • Introduced shared PageHeader component and unified page layouts across webmail views.

Fixed

  • Supported IMAP LIST (SPECIAL-USE) selection option per RFC 6154.
  • Migrated legacy webmail2 config keys during install.sh update.
  • Ensured directory and objectstore files inherit parent directory ownership and close database rows safely.
  • Allowed moving messages to custom user folders in webmail API.
  • Fixed MTA-STS DNS check, delegate access validation, gateway defaults, and CLI validation in admin.
  • Fixed webmail preview pane scroll behavior, compact row date overflow, public folder message creation date display, compose dropdown modal scroll lock, and attachment dialog widths.

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 14:00

Added

  • Added comprehensive CLI commands in hermex-admin providing complete functional parity with the web administration panel across domain, user, queue, policy, security, organization, public folder, TLS, and health inspection.
  • Added multi-selector DKIM key management and key rotation across the directory, administration UI, and CLI.
  • Added operator setting to reject incoming messages failing DMARC with p=reject at the SMTP DATA stage.
  • Supported DMARC subdomain policies (sp=) and percentage sampling (pct=) in the antispam engine.
  • Allowed domain administrators with delegated permissions to manage DKIM keys for their assigned domains.
  • Added per-domain MTA-STS and plus addressing toggles, with gateway policy serving, MTA-STS policy caching in relay, and DNS health diagnostics for MTA-STS and TLS-RPT records.
  • Added RFC 5233 subaddressing (plus addressing) across inbound delivery, mailing lists, meeting invitations, forwarding fallback, autoreply, and export headers.

Changed

  • Renamed webmail2 and webmail2api packages, modules, and configurations to webmail and webmailapi.
  • Hardened static analysis bounds and integer conversions annotated with MS-OX protocol specifications.
  • Modernized Go slice iterations and string operations across admin and gateway packages.
  • Added unit tests covering auxiliary test commands and remaining daemons.

Fixed

  • Enabled opportunistic TLS delivery in relay when MTA-STS policy mode is testing.
  • Fixed race condition in SMTP connection cap test by synchronizing connection teardown.
  • Corrected dropped event counter when log spill file path is unconfigured.

v0.3.6

Choose a tag to compare

@github-actions github-actions released this 28 Nov 21:57

Added

  • Sharded the Go test gate into three parallel suites in continuous integration, running MariaDB and MongoDB service containers on tmpfs RAM disks and cutting run times by over 40%.
  • Added a fast local pre-push verification hook validating formatting, vet, and webmail lint and typecheck under nine seconds.
  • Integrated oxlint and Vitest shared test environments for the webmail client, reducing lint times to 14 milliseconds and test runs to two seconds.

Changed

  • Preserved system journal logs across installation reboots.
  • Modernized string slicing across antispam, mail transfer, and webmail APIs to use strings.Cut and strings.SplitSeq with zero discarded values.

Fixed

  • Fixed an unused exception identifier in webmail permanent trash deletion.
  • Enforced strict refusal checks across mailbox sync to reject synchronization of folders not present in the store.
  • Recorded failures when updating contact picture, category, and flag metadata in webmail.
  • Prevented property modifications on nonexistent messages in the mailbox store.

v0.3.5

Choose a tag to compare

@github-actions github-actions released this 26 Nov 13:46

Added

  • Redirected plain HTTP requests on port 80 to HTTPS; new installations open port 80 and set gateway_http_addr.
  • Served mail client autoconfiguration (config-v1.1.xml) for hosted domains with IMAP, POP3 and SMTP over TLS.
  • Listed IMAP, POP3, SMTP and, for clients that ask for it, MAPI/HTTP in the Outlook Autodiscover reply.
  • Answered Autodiscover v2 JSON requests for EWS, ActiveSync and Autodiscover v1.
  • Answered ActiveSync devices in the mobilesync Autodiscover schema.
  • Laid out the webmail and administrator sign-in pages like Outlook on the web, with a full-height brand panel.

Fixed

  • Let the administration panel content use the full page width.

v0.3.4

Choose a tag to compare

@github-actions github-actions released this 21 Nov 18:27

Added

  • Unified the webmail and administrator sign-in pages into a shared badge interface that contains both password entry and two-factor authentication steps.
  • Added the original message subject to read receipt notifications.
  • Added an organization boundary check that prevents sharing or granting mailbox access to users in other organizations.
  • Added the ability to assign the application impersonation role from the administrator role editor.
  • Added controls on the user management page to configure delegate folder permissions directly.
  • Added a configurable minimum password length setting in the administration panel that enforces password length during user creation and password changes.
  • Added an administrative setting to cap on-disk log spill files across all daemons and report dropped log events.
  • Added Sender Rewriting Scheme support for forwarded messages, Authenticated Received Chain message sealing for relays, and validation of incoming authentication headers.

Fixed

  • Enforced organization boundaries across all protocols to prevent cross-tenant sharing, delegation, alias creation, send-as permissions, free/busy queries, and mailbox logons.
  • Restricted delegate search results, notifications, folder copies, deletions, and shared calendar queries to folders where the delegate holds explicit access rights.
  • Routed deleted calendar items, contacts, and emptied folders into Recoverable Items across all sync and access protocols.
  • Contained unexpected background worker panics in mail transfer, relay, directory fetch, push notifications, and administrative tasks to prevent service crashes.
  • Fixed email address parsing across routing, antispam, relay, and MIME components by splitting domain names at the final at-sign.
  • Prohibited plaintext password transmission prior to establishing TLS encryption on IMAP, POP3, and remote mail retrieval connections.
  • Enforced rate limits on password verification in webmail and administration endpoints, encrypted stored retrieval passwords at rest, and revoked app passwords during forced password resets.
  • Improved IMAP standards compliance for quota lookups, search and sort commands, access control list validation, administrator privilege checks, and nested message rendering.
  • Corrected mailbox object store validations to prevent renaming default folders, writing directly into search folders, or moving items onto conflicting identifiers during synchronization.
  • Corrected recurring calendar event expansion for weekly series and explicit recurrence dates, and rejected meeting update requests from non-organizers.
  • Improved logging reliability during log store outages by spilling directly to disk, replaying in batches with backoff, and isolating log writes to a dedicated background task.
  • Corrected interface display values for storage size units and password requirements, sanitized login page branding settings, and recorded detailed failure reasons for quarantine releases.
  • Added directory validations to reject unroutable contact and group member addresses, prevent naming collisions between accounts and alternate names, and reject unsupported interface languages.
  • Fixed mail transfer handling to apply user forwarding rules on incoming connections, limit out-of-office responses to once per sender, remove pre-existing spam header tags, and sanitize received header lines.
  • Corrected TLS wildcard certificate matching, rejected mismatched certificate domain assignments, and enforced policy lifetimes and query deadlines for MTA-STS and DANE TLSA lookups.
  • Ensured contact replacements and file copies write new destination data before removing old entries, and prevented duplicate master category names in webmail.
  • Hardened binary decoders and remote procedure call parsers against truncated compression streams, buffer misalignments, invalid S/MIME padding, deeply nested rule action lists, and unauthorized context handle reuse.

Changed

  • Restricted release version numbers to single-digit patch values.

v0.3.3

Choose a tag to compare

@github-actions github-actions released this 19 Nov 14:13

Fixed

  • The admin panel published under its own host name answered 404 at that name's root; the root and the bare /admin prefix now redirect to the panel.

v0.3.2

Choose a tag to compare

@github-actions github-actions released this 19 Nov 13:52

Added

  • install.sh install sets up the first mail domain: it asks for the domain (or takes --domain), creates its postmaster@ system administrator with a password shown once, turns on antivirus scanning, generates the DKIM key and saves the DNS records to publish to /root/hermex-dns-<domain>.txt.
  • install.sh install offers Let's Encrypt certificates (--acme-email, --agree-tos) when the host name already resolves to the server, and then an MTA-STS policy in testing mode (--mtasts, RFC 8461) when mta-sts.<domain> points at the server.
  • The admin panel can be published under its own host name (admin_hostname): the gateway routes only that name to the panel and obtains its certificate. install.sh install asks for it (--admin-hostname) and adds its CNAME to the DNS records file; with no name the panel stays reachable only through an SSH tunnel.
  • hermex-admin commands generate-dkim, enable-dkim, dns-records, set-av-scan, set-tls-acme and set-mtasts, so a domain's mail can be set up without the panel. generate-dkim keeps an existing key, and set-mtasts enforce needs --confirm-enforce, as in the panel.

Fixed

  • A fresh install stopped at the firewall step: firewalld names the 587/tcp service smtp-submission, not submission.
  • The DNS records prescribed for a domain served by mail.<domain> no longer include a mail CNAME, which RFC 1034 section 3.6.2 forbids beside the server's own address records.
  • The CardDAV path=/dav TXT record (RFC 6764 section 6) is prescribed as its own record instead of only in a note.

Changed

  • Tests now fail on implementations they passed before: ActiveSync Find, FolderCreate, FolderDelete, FolderUpdate, EmptyFolderContents and MeetingResponse, and the failed-login logging checks of ActiveSync, DAV, EWS and MAPI/HTTP, which now also reject a logged base64 Basic credential.

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 19 Nov 12:00

Added

  • The message submission port (RFC 6409, submission_addr, :587 on a new bare-metal install): STARTTLS, and MAIL is refused with 530 until AUTH succeeds. install.sh opens it in the firewall.

Security

  • Builds use Go 1.26.11, golang.org/x/net v0.63.0 and klauspost/compress v1.20.4, which close 17 vulnerabilities reachable from the 0.3.0 binaries (net/http, crypto/x509, x/net, compress).
  • Webmail uses DOMPurify 3.4.18, which closes five DOM XSS advisories in the sanitizer that every mail-derived HTML sink goes through; the lint and test tools are updated past their advisories.

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 11:37

Added

  • Bare-metal installation: install.sh installs MariaDB, MongoDB and ClamAV, a service user, one systemd unit per daemon and the firewall rules on RHEL/AlmaLinux/Rocky 9, Debian 12 and Ubuntu 22.04/24.04, then installs the release. update takes a database dump, swaps the release and migrates; rollback restores the previous release and its dump, and refuses a rollback across a mailbox-store migration. Each tagged release carries hermex-linux-amd64.tar.gz, hermex-linux-arm64.tar.gz and SHA256SUMS.
  • Every daemon can take its own health address (health_addrs) and its own log spill file, so all of them run on one host.
  • EWS calendar support: calendar items are served by FindItem (with CalendarView expansion of recurring series), GetItem and SyncFolderItems, and can be created, edited, moved, copied and deleted, including single occurrences and series a MAPI client wrote. Tasks and sticky notes are created and edited through the shared task model.
  • EWS search folders, FindItem and FindFolder restrictions, extended properties on reads and writes, InternetMessageHeaders, CalendarPermissions, and counter proposals from a meeting response.
  • MAPI search folders, folder entry ids, rights and counts, the store's size and owner, the replica id map, the connection locale, RopGetPropertiesList and RopReadRecipients past the inline table, and the TNEF form for recipients that take rich information.
  • ActiveSync moves calendar, contact, task and note items, answers one occurrence of a series, proposes new meeting times, honors MaxAmbiguousRecipients and sends read receipts.
  • Read receipts (RFC 8098) and delivery reports are read and written, and webmail prompts for read receipts by the reader's setting.
  • Incoming winmail.dat (TNEF) is read into the message, OpenPGP/MIME messages stay intact, vCard 2.1 is read, and attached contacts travel as vCards.
  • Webmail saved searches are store search folders, folders are addressed by id, meeting mail offers Outlook's answer choices, and messages can be viewed as source.
  • The exclusive sent-copy setting files the copy only in the represented mailbox.
  • The admin panel shares the webmail's design language, manages Directory Sync connections and domain bindings and the Live status targets, and shows times in the operator's chosen zone.
  • hermex-admin add-health-target registers a Live status target from the command line.

Changed

  • Account creation, LDAP sync and room creation create the mailbox with its standard folders at once; maintenance reads never create one.
  • Failed-login, connection and HTTP request limits count an IPv6 client by its /64 and evict the least recently used client when their tables are full.
  • Every file the server writes goes through one durable atomic replacement helper.
  • Builds target linux/amd64 and linux/arm64 only.

Fixed

  • Two daemons opening a new relay spool or mailbox at once no longer fail with SQLITE_BUSY or read a half-built schema.
  • Every protocol refuses writes into a mailbox over its quota with that protocol's quota error.
  • Writes stay inside the folder their item id or endpoint names, and requests for a mailbox that does not exist are refused.
  • Free/busy windows are bounded on every surface, BusyStatus values outside the defined set are refused, and every occurrence of a series is counted.
  • Folder names stay unique among siblings on create, rename and move across all protocols.
  • ActiveSync answers each failure with its MS-ASCMD status, keeps a cached Ping heartbeat at the 60-second floor, and updates its shared sync state inside one transaction.
  • Meeting replies, cancellations and delegate answers keep the right series, instance and response, and a meeting in another mailbox is answered only under a send grant.
  • Out-of-office windows that end before they start are refused on every surface.
  • A daily series that began years before the window is expanded.
  • Many admin panel, webmail and MAPI fixes for time zones, delegates, attachments and table columns.

Security

  • The SMTP DATA body, IMAP literals and IDLE lines, fetchmail responses, MIME part counts, ICS uploads and relay turns are bounded.
  • A submission or transaction past 1000 recipients is refused, and a DMARC report goes to at most 10 destinations.
  • The From of every client-built or scheduled message passes the send-as check; a PLAIN login cannot act as another user.
  • The SSRF guard refuses every non-global IANA block, zoned and shorthand hosts, and IPv6 addresses that embed a private IPv4 host.
  • MAPI/HTTP and RPC/HTTP sessions are bound to the authenticated user.
  • The ActiveSync policy key is given only to a compliant device that acknowledges it.
  • MTA-STS policies are read only when served as text/plain, and pkcs7 is bumped for BER length bounds.

v0.2.0

Choose a tag to compare

@KilimcininKorOglu KilimcininKorOglu released this 26 Sep 21:27

Added

  • Outlook meetings and series export as iTIP iCalendar ([MS-OXCICAL]): the method follows the message class, a series carries its RRULE, excluded days and modified occurrences, and a modified occurrence carries the body of its exception attachment. The full AppointmentRecurrencePattern is decoded for this.
  • Organizer-side counter proposals ([MS-OXOCAL] 3.1.4.8.5.3): a COUNTER records the proposed time on the attendee and the proposal count on the meeting, and a later plain response withdraws it.
  • A delivered meeting cancellation is applied to the calendar, marking the meeting or the one occurrence as cancelled, behind a new per-mailbox setting that webmail shows. Webmail shows a cancelled meeting as cancelled.
  • Webmail sends a moved occurrence and cancels a deleted occurrence for the meeting's attendees.
  • iTIP bodies are rendered from the stored calendar object, and scheduling mail is built in one shared package.
  • Webmail can move, drag, edit and delete one occurrence of a series.
  • The browser S/MIME key is kept in a password-sealed vault on the server instead of browser storage, and an existing browser key moves into it on the next unlock.

Changed

  • Webmail edits calendar events, tasks and contacts in place, and EWS, CalDAV and CardDAV update an item in place, so its id and unmodelled properties survive an edit. EWS derives the change key from the item's stored version.
  • An edited mail message gets a new IMAP UID, and a message's recipients can be replaced in place.
  • Imported events keep their Outlook time zone, zones are named the Windows way, and a VTIMEZONE is generated for them.
  • Large webmail pages and components are split into hooks and view components, and unused SPA code and packages are removed.
  • npm packages that ship Go sources stay out of the Go module.
  • The SPA test runner moves to vitest 5, and the SPA declares its Node floor.

Fixed

  • A MAPI-submitted message keeps its attachments, and a MAPI-submitted meeting message carries its iCalendar, so a counter proposal leaves as METHOD:COUNTER with the proposed time.
  • A COUNTER imports as a counter-proposal response, and a response matches a meeting organized in Outlook through its global object id.
  • A recipient-row write advances the message's change number, so synced clients see attendee responses.
  • Monthly and yearly recurrences expand their day pins (ordinal BYDAY, BYSETPOS, BYMONTHDAY, BYMONTH), and a zoned series expands on its zone's wall clock.
  • Meeting mail is processed in every daemon that delivers it, an invitation carries the stored meeting under the UID attendees hold, and only the organizer of a meeting whose request went out sends a cancellation.
  • A read never provisions another user's mailbox.
  • Drafts keep their Cc and Bcc recipients, autosave while typing, and are removed once sent.
  • Webmail restores a setting and reports the failure when a save fails, and keeps stored settings when the page could not read them.
  • Webmail sends one reply, note, meeting answer or calendar per click, and the rich text editor keeps the caret where the user types.
  • Contacts keep their details on edit, vCard photos become the contact picture, and optional attendees stay optional.
  • Dependency advisories in the SPA development tree are resolved.