VersionDrift
Product

Stalwart Mail Server 1.0.3 → 1.1.1

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

0security0breaking0deprecated8feature60fix

Breaking changes

None in the release notes.

Security changes

None in the release notes.

Every release in between

otherMasked email addresses are now part of the open source edition and no longer require an Enterprise license.
featureDNS: the Netcup provider now uses netcup's key-only REST API, which manages CloudDNS domains only; existing Netcup entries need the CloudDNS API key in the new apiKey field after upgrading.
fixMTA:
fixA queued message is now visible to and managed by only the sender's tenant (or, for mail from outside, the recipients' tenant when all of them belong to one tenant), instead of by every tenant with a recipient of the message.
fixMasked addresses are now accepted on domains with a custom sub-addressing rule; they were refused with "Mailbox does not exist".
fixMilter: a milter that accepts a message before end-of-body no longer gets the rest of it, which libmilter ignores, so the session no longer waits for milter.timeout; a milter that sets SMFIP_NOBODY now receives end-of-body.
fixJMAP:
fixOn a new account, Mailbox/changes from the state of the first Mailbox/get no longer lists the system mailboxes as created.
fixPrincipal/query text and name filters now match a full address and whole words of the name and description; name was an exact address match and text never matched an address.
fixThe ClassifySpam and TroubleshootDmarc actions accept mailFrom: null for the null reverse-path (MAIL FROM:<>), and the ClassifySpam mailFromParameters value bit8Mime is spelled correctly and no longer swapped with binaryMime.
fixIMAP:
fixEvery token of a request, including empty quoted strings, now counts toward the request size limit at its in-memory size; floods of "" before login or of ( after it could exhaust server memory.
fixFETCH, SEARCH, STORE, THREAD, UIDBATCHES, COPY and MOVE now send EXISTS for messages delivered since the last update before their responses refer to them (RFC 9051 §5.2); clients could record the new UID without the message and skip it for good.
fixEmail:
fixAn incoming or appended message is no longer dropped as a duplicate when the only stored message with the same Message-ID in the target mailbox is a draft.
fixSieve:
fixenvelope "to" now holds the address from RCPT TO, including its +detail, when sub-addressing rewrote the recipient, so envelope :detail "to" matches (RFC 5228 §5.4, RFC 5233). This also applies to messages a script redirects to a sub-address, which previously could loop.
fixA redirect, vacation reply or notification that cannot be queued is now logged as sieve.unexpected-error with its recipients; it was dropped without a trace.
fixStorage:
fixS3: requests that fail with a transport error, such as a timeout, are now retried up to maxRetries; writes were never retried and reads only once.
fixEncryption at rest:
fixS/MIME-encrypted messages now use Content-Disposition: inline for the smime.p7m part, so iOS Mail shows the decrypted text as the message preview.
fixCalendar:
fixAn iTIP REPLY no longer overwrites the organizer's RSVP request for the replying attendee, and a reply carrying RSVP=FALSE no longer stops later updates such as a cancellation from reaching that attendee.
fixA meeting invitation forwarded by a local attendee from an authenticated session is now added to the recipient's calendar as an uninvited copy (recipient added as NEEDS-ACTION, organizer unchanged, no reply sent) instead of being rejected; forwards from outside or unauthenticated senders are still…
fixA recurring event whose DTSTART does not match its RRULE now has DTSTART as its first instance, counted toward COUNT, instead of starting at the first date the rule generates.
fixAn event with more than one RRULE now uses the first one everywhere (expansion, JMAP recurrenceRule and invitations) and keeps the others unchanged; previously expansion used the last one and JMAP dropped the first.
fixA JMAP event location whose description, locationTypes or links are null is now exported as a plain LOCATION instead of a VLOCATION without one, so invitations show the location again.
fixJMAP-written events no longer get a TZID on a DATE value or a VALUE=DATE on a timed start: all-day events with a stray TZID stay all-day without it, and a date start with a timed duration is written as a date-time.
fixWebDAV:
fixFiles downloaded from /dav/file/ are served with X-Content-Type-Options: nosniff and a sandboxing Content-Security-Policy, so an uploaded HTML file can no longer run scripts on the server's origin when another user opens it.
fixConcurrent PUT requests that create the same new file, contact or event no longer all succeed: one creates it and the others get 412 Precondition Failed with If-None-Match: *, or overwrite it without that header.
fixAuthorization:
fixChanging a tenant's permissions or roles now applies at once to the tenant's accounts, including logins with a cached session on every cluster node; previously it took effect only after InvalidateCaches or a change to the account itself.
fixTelemetry:
fixThe log viewer shows the details of entries written by a log tracer with multiline enabled and searches them, instead of showing an empty details column.
fixMetrics history now starts within 5 minutes when an Enterprise license is activated or restored without a restart; previously the dashboard history stayed empty until the server restarted.
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.
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