github stalwartlabs/stalwart v1.2.3

48 minutes ago

[1.2.3] - 2026-12-03

Added

  • DKIM: configurable RSA key size for generated keys (rsaKeySize: 2048, 3072 or 4096 bits).
  • Archiving: deleted calendar events, contacts, files and Sieve scripts are archived and can be restored, each with its own retention setting.
  • Setup wizard: "Publish MX record and receive mail here" option, so a domain that receives mail elsewhere does not get MX, SPF, DMARC and MTA-STS records for this server.
  • MTA: users can send from sub-addresses of their own addresses (jane+shop@example.com) with mustMatchSender enabled.
  • Exchange: EWS folder permissions, so Outlook for Mac can view and change folder sharing.

Changed

  • Archiving: archiveDeletedItemsFor is renamed archiveDeletedEmailsFor and applies to email only. Stored settings are kept, but JSON using the old name must be updated.
  • Sieve: sieve.unexpected-error events include the source of the message that could not be queued.
  • DNS: automatic DNS management republishes the affected records when mailExchangers, publishRecords, dnsServerId or origin change (#3355).

Fixed

  • JMAP:
    • Concurrent thread merges no longer swap messages between threads or leave some behind.
    • Blob/lookup reports unparseable blob ids in notFound.
    • Quota/query now applies filters, sorting and paging.
    • ShareNotification/query handles after dates in the future and sorting by created.
    • The Blob capability advertises the correct maxDataSources and maxSizeBlobSet limits.
    • Destroying an email in a shared account requires mayRemoveItems on all its mailboxes (Reported by v380).
    • Mailbox/set returns the stored name when it trims whitespace.
    • WebSocket sessions answer a Close frame instead of dropping the connection.
    • ClassifySpam and TroubleshootDmarc actions return an id, so stalwart-cli no longer fails with created object missing id.
    • The session's mayCreate* flags are only true where the user has the matching create permission.
    • Quotas are only listed for the capabilities named in using.
  • Exchange:
    • EWS calendar items keep AllowNewTimeProposal, IsResponseRequested and their time zones, and get the default 15 minute reminder.
    • MAPI: unsaved changes on one message handle are no longer visible through other handles.
    • MAPI: the Microsoft Remote Connectivity Analyzer Mail Store test no longer fails with ecRpcFormat.
    • MAPI: classic Outlook can accept meeting requests.
    • EWS, ActiveSync and MAPI enforce the create, update and destroy permissions of app passwords, API keys and roles (Reported by v380).
  • Auth:
    • Open sessions end when their OAuth grant is revoked or their app password or API key expires (Reported by v380).
    • auth.failed events from OIDC, LDAP and SQL directories include the account name.
  • Calendar:
    • hideAttendees is enforced over CalDAV, EWS and MAPI (Reported by v380).
    • Concurrent creates with the same UID no longer store duplicate events or contacts.
  • WebDAV: calendar-multiget and addressbook-multiget return each resource once, so repeating an href can no longer inflate the response (Reported by Dmitry Shirokov).
  • Contacts: vCard TYPE values such as INTERNET are preserved, and vCard 3.0 TYPE=PREF converts to pref.
  • MTA:
    • The failed-RCPT auto-ban counts only the connecting client's own failures (Reported by Dmitry Shirokov).
    • Envelope addresses that need quoting are relayed quoted, and addresses with control characters are refused.
    • Locally submitted messages with non-ASCII envelope addresses are relayed with SMTPUTF8.
    • Oversized DMARC and TLS reports can no longer exhaust memory; reports above maxInboundReportEntries (100,000) are rejected (Reported by Dmitry Shirokov).
  • Registry: #creation-id references are accepted in blobEncryptionKey, backupEncryptionKey and delegateIds.
  • Storage: RocksDB backups and restores work when the database directory is a volume mount point, as in default Docker and script installs.
  • Search: crafted PDF attachments can no longer exhaust memory during indexing (Reported by Dmitry Shirokov).
  • Archiving: changing archivedUntil on an archived item no longer schedules a restore.
  • DKIM: signatures that do not cover From or that repeat a tag fail verification.
  • DNS: OVH no longer adds duplicate SPF records, and hosting.de, netcup and Route53 updates no longer fail.
  • Build:
    • --features foundationdb at the workspace root no longer links libfdb_c (use -p stalwart or stalwart/foundationdb).
    • The directory crate builds with a single SQL backend, and builds without enterprise skip SCIM.
  • IMAP: pipelined FETCH responses no longer corrupt large FETCH literals, which made Apple Mail drop the connection.

Check binary attestation here

Don't miss a new stalwart release

NewReleases is sending notifications on new releases.