Skip to content

mailpit 1.34.0 - #326053

Merged
BrewTestBot merged 2 commits into
mainfrom
bump-mailpit-1.34.0
Nov 17, 2026
Merged

BrewTestBot merged 2 commits into
mainfrom
bump-mailpit-1.34.0

Conversation

@BrewTestBot

Copy link
Copy Markdown
Contributor

Created by brew bump


Created with brew bump-formula-pr.

Details

release notes
**This release fixes a security vulnerability ([GHSA-v887-64wg-qqc9](https://github.com/axllent/mailpit/security/advisories/GHSA-v887-64wg-qqc9)): a specially crafted message could crash Mailpit's SMTP server. Updating is recommended.**

It also includes a large number of smaller fixes and hardening changes from a review of the codebase. Almost all of them are under the hood: tighter limits on memory and CPU use, more careful parsing of messages and headers, and better handling of edge cases. For most users nothing should look or behave differently.

A few changes may need attention when upgrading:

  • Flags and environment variables that have been deprecated for over two years have been removed. A relay config that still uses recipient-allowlist will now stop Mailpit from starting: rename it to allowed-recipients.
  • Some settings are now checked at startup and refused if invalid, where they were previously ignored or treated as 0: relay and forward ports, return-path, --max-age, integer environment variables, and empty authentication credentials.
  • The send API returns new responses: 400 for a From address that cannot be parsed, 413 for a message over the maximum message size, and 503 (with Retry-After) when too many messages are being sent at once.
  • Messages are limited to 100 tags.

Chore

  • Reduce CPU cost of message ingestion (#771)
  • Recover from panics in SMTP sessions
  • Use the SpamAssassin server's required score to decide what is spam
  • Limit the HTML parsing of the embedded message view
  • Refuse to render HTML over 10 MiB in the message view
  • Limit how many bytes of messages are stored at once
  • Treat a bare CR in headers as text, as Go and Postfix do
  • Stop the storage background goroutines before re-initialising
  • Limit the terms of a search and the memory a search holds
  • Cache host names of SMTP clients for a short time
  • Lower the size limit of proxied images and fonts to 10 MiB
  • Limit the size of the messages a websocket client can send
  • Remove deprecated flags and environment settings
  • Validate relay and forward ports and return-path at startup
  • Update Go dependencies
  • Update node dependencies
  • Update Github Actions dependencies

Fix

  • Make field searches case-insensitive for non-ASCII characters
  • Show the current UTC offset in the timezone setting (#773)
  • Make dump paging and failure handling fail closed
  • Make credential loading and matching fail closed
  • Harden the HTML checker against slow and concurrent input
  • Bound and clean up link checking
  • Stop log messages injecting terminal control sequences
  • Silence the logger once for the POP3 tests
  • Correct POP3 TOP and dot-stuffing, and harden connection handling
  • Make the database last-action time safe for concurrent use
  • Limit the number of tags on a message to 100
  • Bound the Prometheus tag series and harden the metrics server
  • Harden the Rspamd integration
  • Harden the snakeoil self-signed certificate generator
  • Harden the SpamAssassin integration
  • Reuse webhook connections to prevent dropped webhooks under load (#772)
  • Prevent SMTP crash on unparseable media type with RFC 2231 parameter (GHSA-v887-64wg-qqc9)
  • Stop the version lookup blocking requests and fix its backoff
  • Stop EXIF rotation copying large images and limit thumbnail decodes
  • Limit the size of progressive JPEGs that are thumbnailed
  • Remove List-Unsubscribe comments in a single pass and limit its length
  • Locate message headers by position when rewriting them
  • Use the text part for the snippet when the HTML has no text
  • Keep text that is the same as a skipped element's name
  • Trim truncated tags and stop PrepareSocket removing files
  • Make --smtp-strict-rfc-headers cover all non-CRLF header line breaks
  • Reduce the cost of HTML redirect stripping and text snippets
  • Set the start time when the stats package loads
  • Stream the message to Postmark without copying it
  • Stop thumbnails for requests whose client has gone
  • Reject messages with unreadable headers permanently
  • Send only CRLF line breaks when relaying, and keep the stored body
  • Remove whitespace before the colon of header names
  • Handle more IDs than SQLite has placeholders for
  • Tell the web UI about every message a search deleted
  • Do not fail searches for sizes beyond what a database can compare
  • Look up the client's host name without holding up other connections
  • Time out TLS clients who never start the handshake
  • Limit how much memory messages being received can use
  • Make SMTP Shutdown wait for the open sessions
  • Give relaying and forwarding time limits
  • End the transaction when a MAIL command is refused
  • Close the connections the proxy opens to fetch assets
  • Allow sending messages through the API over a Unix socket
  • Limit the cost of proxying a stylesheet
  • Limit and cache the SpamAssassin checks of messages
  • Make the Chaos settings and the HTML preview route safe for concurrent use
  • Release a message to the addresses which were checked
  • Rewrite the inline image links of a message in a single pass
  • Limit the memory used by messages sent through the API
  • Reject invalid integer environment variables instead of using 0
  • Use the default sender when ingesting messages without a From address
  • Reject --max-age values too large to calculate the prune cutoff
  • Apply the return-path option to forwarded and auto-relayed messages
  • Keep the quotes of an address in the sender and recipients which are sent
  • Give the sendmail command and ingest time limits when sending
  • Send the messages of the sendmail command with CR LF line breaks
  • Reject line breaks in the From address of the send API
  • Resolve proxied CSS assets after redirects (#774)
  • Preserve inline data URLs in proxied CSS (#776)
  • Encode screenshot proxy query parameters (#775)
  • Send PLAIN credentials when relaying or forwarding over implicit TLS
  • Hold progressive JPEGs with skipped bytes to the progressive limit
  • End the SMTP transaction when a message is refused
  • Do not crash when reindexing an empty database
  • Return an error when parsing a message for the envelope cache panics
  • Give the readyz probe a time limit

View the full release notes at https://github.com/axllent/mailpit/releases/tag/v1.34.0.


@github-actions github-actions Bot added go Go use is a significant feature of the PR or issue nodejs Node or npm use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Nov 17, 2026
@daeho-ro
daeho-ro force-pushed the bump-mailpit-1.34.0 branch from dc2a0fd to 29330be Compare November 17, 2026 12:06
@github-actions

Copy link
Copy Markdown
Contributor

🤖 An automated task has requested bottles to be published to this PR.

Caution

Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.

@github-actions github-actions Bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Nov 17, 2026
@BrewTestBot
BrewTestBot added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit ce58b8d Nov 17, 2026
22 checks passed
@BrewTestBot
BrewTestBot deleted the bump-mailpit-1.34.0 branch November 17, 2026 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. go Go use is a significant feature of the PR or issue nodejs Node or npm use is a significant feature of the PR or issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants