Stalwart Mail Server 0.16.21 → 0.16.24
3 releases · 0 breaking changes · 0 security fixes · 0 advisories fixed
0security0breaking0deprecated2feature70fix
Breaking changes
None in the release notes.
Security changes
None in the release notes.
Every release in between
featureDNS: PowerDNS Authoritative provider for automatic DNS record management.
fixTroubleshoot tool: TLSA records are looked up for every MX host, including hosts whose zone is not DNSSEC signed.
fixSpam filter:
fixOpenPhish and PhishTank entries containing uppercase characters never match, since message URLs are lowercased while HTTP lookup entries keep their original case. HTTP lookups now match keys case-insensitively.
fixURL shortener links are followed using the lowercased URL, so case-sensitive short links resolve to the wrong destination or not at all.
fixIncremental training never advances its position past the first run, so every retained sample added since then is trained again, and counted again in the reservoir, on each run until it expires.
fixUpdating the rules only adds new objects, so upstream changes to existing rules, DNSBL servers, HTTP lookups, lookup keys and file extensions never reach an existing installation.
fixUpdating the rules reports success when objects fail to import, or when a configuration error stops the updated settings from being activated.
fixJMAP:
fixA PushSubscription created within the verification rate limit window of another one on the same account never receives its PushVerification, since the blocked verification is dropped instead of being sent once the window expires.
fixA push notification retried after a failed delivery can report an older state than a change queued during the failed attempt, since the older state changes are merged last and overwrite the newer ones.
fixChanges made while a push request is in flight are not delivered until the next change reaches the same subscription, since a successful delivery cancels the pending retry.
fixThe VAPID aud claim is derived from a hand-written parse of the push URL, so a crafted push URL can make the server sign a token for a push service other than the one the request is sent to.
fixEmail/import rejects a blobId that refers to a Blob/upload creation id in the same request ("#u0") with Invalid blob id..
fixEmail/set with a full mailboxIds object identical to the current mailboxes, together with a keyword change, stores the message with IMAP UID 0, so IMAP clients stop seeing it.
fixMTA:
fixA node without the outboundMta role stops replying to DATA and to JMAP submissions once about 1024 messages have been queued on it.
fixMX records are resolved through the DNSSEC-validating resolver even when DANE is disabled.
fixA DATA stage Sieve script does not see headers added by milters or MTA hooks, and discards every milter and MTA hook change when it edits the message.
fixMySQL: Range deletions and search index removals start with a single unbounded DELETE and switch to chunks only after a timeout.
fixIMAP: COPY and MOVE fail with NO [CONTACTADMIN] when another session changes the same message at the same time.
fixAutodiscover: Implicit TLS ports (993, 995, 465) are advertised with TLS, which Outlook reads as STARTTLS.
fixHTTP: Idle keep-alive connections are never closed.
featureExpressions: bit_and function.
fixMTA:
fixA mailing list whose recipients include another mailing list is accepted at RCPT TO and then rejected at local delivery with 550 5.5.0 Mailbox not found.
fixDMARC aggregate reports carry two spf elements per record and the version element of a DMARC aggregate report is written as 1 instead of 1.0.
fixDSNs generated for an alias rewrite or a list expansion emit a doubled addr-type in Original-Recipient (rfc822;rfc822;user@example.org).
fixDSNs that cannot be written to the store are discarded, the recipients are flagged as notified and the original message is removed from the queue, losing both the bounce and the message.
fixPOP3:
fixTOP msg n counts the n lines from the first byte of the message instead of from the first byte of the body.
fixA message whose very first line begins with . is not byte-stuffed.
fixSpam filter: Moving or copying a message from one account into another creates no training sample, so the classifier never learns from it.
fixSieve: envelope "orcpt" yields the bare address for an ORCPT supplied over SMTP. It now carries the addr-type prefix in every case, as required by RFC 6009.
fixACME: The _acme-challenge TXT records published for a DNS-01 authorization are never removed.
fixDNS: The DNSSEC resolver queries a single nameserver at a time, working around a hickory-resolver race that cancels the TCP retry when two nameservers return a truncated response in parallel.
fixTroubleshoot tool:
fixMX records are resolved through the DNSSEC-validating resolver, matching the resolver used by the delivery path.
fixA TLSA lookup that fails or returns bogus records stops the delivery attempt for that host, instead of continuing without DANE.
fixOIDC: Bearer tokens that carry no email, preferred_username or upn claim are always authenticated against the default directory.
fixMeilisearch: A confirmation timeout is treated as a failed write even when failOnTimeout is disabled, so an index whose batches take longer than pollInterval x maxRetries never completes an indexing task and resubmits the same batch indefinitely.
fixWebUI: A failed update no longer takes an Application offline.
fixFoundationDB: The cached read version is invalidated when any broadcast is received from another node.
fixRedis:
fixOn a cluster, the rate limiter and the blob upload quota issue INCR and EXPIRE as a MULTI/EXEC transaction, whose MOVED redirects collapse into a single EXECABORT that never refreshes the slot map.
fixA connection that fails because it is addressing the wrong server is returned to the pool and reused, since the recycle check only issues PING.
fixWebDAV: PROPFIND responses do not declare the namespace of every requested property on the DAV:multistatus element.
fixMTA:
fixSMTP session state obtained before STARTTLS is discarded once the TLS handshake completes, as required by RFC 3207.
fixInbound throttle, outbound throttle and queue quota match expressions evaluate their if/then conditions.
fixDMARC: Messages without an aligned SPF or DKIM pass from a domain that publishes a DMARC policy are reported as fail instead of none in logs.
fixDMARC: A temporary DNS error on an SPF or DKIM check whose identifier aligns with the author domain produces temperror instead of fail.
fixDMARC: A policy record without a p tag is only applied, as p=none, when it contains a rua tag, even if it declares sp or np.
fixiMIP: Notification subjects and bodies omit the event start date, time and timezone for recurring events.
fixOIDC: Discovery is retried for 30 seconds before the directory is marked as unavailable, so a provider that is still starting up no longer requires a restart.
fixWebUI: The cached bundle of an Application is discarded when its resourceUrl changes or the record is deleted, so the next unpack fetches the new resource.
fixDNS: Append . to MX record hostnames.
fixRecovery mode: Automatic IP banning is disabled during recovery and initial setup.
fixFoundationDB: The cached read version is invalidated when a queue refresh or registry change broadcast is received.
fixSieve: Messages filed with fileinto by a user script are treated as ham and are no longer moved to Junk when classified as spam.
fixIMAP:
fixSELECT, EXAMINE and STATUS on a shared mailbox require the r (read) right.
fixAUTHENTICATE is refused on clear-text connections unless allowPlainTextAuth is enabled, and the greeting and CAPABILITY response advertise LOGINDISABLED instead of the AUTH= mechanisms in that case.
fixIMAP, POP3, ManageSieve: Partial commands received before STARTTLS or STLS are discarded once the TLS handshake completes.
fixNetwork: Inbound TLS handshakes, both implicit and STARTTLS, are aborted after the listener's tlsTimeout, releasing the connection slot.
fixOAuth: A random key is used when the OIDC provider's encryptionKey or HMAC signatureKey cannot be read, instead of an empty key.
fixLDAP: The {local} and {domain} filter placeholders are escaped.
fixJMAP:
fixCalendarEvent/set stores useDefaultAlerts per user, and CalendarEvent/get returns false when it was never set.
fixCalendarEvent/get returns null for baseEventId unless the id is a synthetic recurrence instance.
fixCalendarEvent/get returns null for requested recurrenceRule and recurrenceOverrides properties on synthetic recurrence instances.
fixCalendarEvent/get and ContactCard/get return only id when the properties argument is an empty list, instead of every property.