VersionDrift
Product

Stalwart Mail Server 1.0.2 → 1.1.0

2 releases · 0 breaking changes · 0 security fixes · 0 advisories fixed

0security0breaking0deprecated14feature31fix

Breaking changes

None in the release notes.

Security changes

None in the release notes.

Every release in between

featurePasskeys (WebAuthn) for accounts in the internal directory:
featurePasswordless sign-in on the built-in login page, for the authorization code and device flows, with a "Sign in with a passkey" button and browser autofill. Passkeys are not a second factor: signing in with a passkey does not ask for the TOTP code.
featurePasskey objects (x:Passkey) to register, list, rename and delete passkeys, with the new x:Passkey/registrationOptions method. Registering a passkey requires the current password, and the TOTP code when one is set. Passkeys are listed in the WebUI under Account > Credentials.
featureES256, Ed25519 and RS256 keys, with attestation none or self-attested packed.
featuremaxPasskeys limit per account (default 10) in the Authentication settings, and as a per-account quota.
featureThe relying party ID is the host of the public URL, so the WebUI must run on that host or one of its subdomains.
featureStalwart Keep as an in-memory store, lookup store, cluster coordinator and cache swap store (keep feature).
fixMTA:
fixThe reply after the message data is now read with dataTimeout instead of rcptToTimeout.
fixShutdown now drains outbound deliveries in progress (up to 8 seconds) and releases their queue locks, so a restart no longer causes duplicate deliveries or a 10 minute delay in clusters.
fixA queue update that fails after a successful delivery (for example during a database failover) is now retried while the queue lock is held, instead of the message being delivered again.
fixIn clusters, a node that takes over a queued message now reads it at the latest committed version (FoundationDB) or from the primary (SQL read replicas), so a message another node has just delivered is not delivered again and its queue quota is not released twice.
fixMilter header edits follow libmilter: SMFIR_ADDHEADER appends, SMFIR_INSHEADER inserts at its position in the whole header list, folded values are written with CRLF, and values that are not UTF-8 are accepted (also MTA hook header edits).
fixJMAP:
fixPushSubscription/get now returns the verificationCode of verified subscriptions instead of always returning null.
fixFileNode/set rejects a Directory role that another Directory in the account already has (draft-ietf-jmap-filenode-20), and FileNode/copy no longer copies role.
fixEmail/set body parts with a raw header:Content-Type (or Content-Disposition) no longer get a second, generated header field; giving the same header field both raw and through a body part property (type, disposition, cid, ...) is rejected with invalidProperties.
fixCalendar: an RSVP (JMAP or CalDAV) on an invitation that was stored without scheduling now sends the iTIP REPLY to the organizer.
fixDKIM: a signature whose DNS record cannot be built (such as a DKIM2 ML-DSA-44 key created before v1.0.2) no longer stops publishing, rotation and deletion of the domain's other DKIM signatures.
fixACME: Domain subjectAlternativeNames are validated on save; a name containing a dot that is outside the domain and its aliases and has no public suffix (such as webmail.test) is rejected instead of failing every renewal.
fixStorage:
fixMySQL/MariaDB: connections no longer switch to the local Unix socket reported by the server (@@socket), which could reach a different local server than the configured host.
fixSQLite: a path that is a directory now stores the database there as stalwart.db (the setup wizard carried the RocksDB directory over), and the field is described as a database file.
fixPostgreSQL: the wait for server replies is bounded by the new responseTimeout setting (default 2m) and the login handshake by connectTimeout; /healthz/ready returns 503 while the data store is not answering.
fixBootstrap: New installations set up with an external directory (LDAP, SQL, OIDC) now get the default roles, so directory users can log in.
fixCluster: Notifications over Redis/Valkey: subscribing is bounded by connectTimeout and idle subscriptions are pinged every 15 seconds, so a dead or unresponsive server is detected and the subscription is re-established.
fixNetwork: Listeners on a wildcard address (0.0.0.0 or ::) now start when the kernel binds them to a specific address, such as in FreeBSD jails without VNET.
fixEnterprise:
fixAfter a lapsed license is renewed, the metrics and tracing stores and the data store read replicas are restored without a restart.
fixQueued messages and their contents are now scoped to the tenant that owns them.
fixACME renewal rejects certificates naming identifiers that were not ordered, and tenant domains can only request certificate names within the domain or its aliases (an existing tenant domain with other names stops renewing until they are removed).
fixSuccessful Enterprise license renewals are now logged, with the new key's account limit and validity period.
featureApps registered in Stalwart: add the scopes the app needs to its OAuthClient scopes (only a superuser can allow full), and have the app request them.
otherApps signing in through an external OpenID Connect provider: create the scopes in the provider and assign them to the apps that need them.
otherWebUI: no action needed.
featureBlob storage:
featureBlob encryption at rest. Blobs can be encrypted by the server with symmetric keys (AES-256-GCM or ChaCha20-Poly1305) defined as SymmetricKey objects.
featureZstandard compression for blobs (zstd in compressionAlgorithm).
featureBlobRecode task, which rewrites stored blobs with a chosen compression and encryption.
featureSTALWART_UPDATE_ROLE_PERMISSIONS environment variable. When set to true (or 1), startup adds to each default role every permission introduced after v1.0.0 that a new install would give that role and that the role is missing.
featureOAuth: Stalwart scopes urn:stalwart:oauth:scope:security, urn:stalwart:oauth:scope:settings and urn:stalwart:oauth:scope:full, so clients signing in through Stalwart or an external OpenID Connect provider can manage app passwords, API keys and account settings.
fixJMAP:
fix/copy methods called with the same accountId and fromAccountId return a clear error message.
fixPushSubscription objects created with an empty types list no longer receive StateChange notifications, and EmailPush notifications are delivered regardless of types.
fixIMAP SEARCH accepts up to 32 levels of nested filters, so free-text searches from Apple Mail no longer fail with Too many nested filters.
fixOIDC: Bearer tokens are routed to the OpenID Connect directory whose issuer matches before the domain in their claims is tried, so a claim naming a domain the server does not host no longer sends the token to the default directory.
fixSecurity: Editing a default role, or a role nested in one, now invalidates the cached access tokens of accounts and groups that use the default role sets.
See how far your stack has drifted from upstream. Release data from vendors’ own sources · feed under CC BY 4.0 · Code under AGPL-3.0 Settings Feed status