Skip to content

Upgrade to docker-mailserver 16 - #199

Merged
cfis merged 3 commits into
docker-mailserver:masterfrom
cfis:dms-16
Oct 27, 2026
Merged

cfis merged 3 commits into
docker-mailserver:masterfrom
cfis:dms-16

Conversation

@cfis

@cfis cfis commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Upgrades the chart to docker-mailserver 16.0.1. docker-mailserver 16 moves to Dovecot 2.4, which no longer loads 2.3 style configuration, so this is released as chart 6.0.0. The version bump is in #135 (which needs docker-mailserver 16), so merging this PR doesn't publish a release.

Changes

  • Full text search uses flatcurve instead of fts-xapian. The previous configuration used 2.3 syntax (mail_plugins = $mail_plugins ... and a plugin {} block) and will not load in Dovecot 2.4. docker-mailserver 16 also no longer supports xapian and recommends flatcurve, which is part of Dovecot. The configuration is now mounted at /etc/dovecot/conf.d/90-fts-flatcurve.conf instead of over 10-plugin.conf, and turns off autoindexing for Trash and Junk.
  • dovecot.fullTextSearch values: verbose is replaced by debug, the unused cron values are removed (flatcurve optimizes automatically), and substringSearch (default true) keeps the partial word matching of the previous partial=3 xapian setting.
  • Attachment indexing is dropped because docker-mailserver 16 no longer ships the decode2text script.
  • PROXY protocol: the dovecot.cf listeners and user-patches.sh commands are unchanged, they match the v16 docs. Only the doc link was updated.
  • README: adds an "Upgrading to Version 6" section covering Dovecot 2.4, validating custom configuration with doveconf, rebuilding search indexes and the removal of SA_SPAM_SUBJECT.

Testing

  • Rendered the chart and validated the generated Dovecot configuration with doveconf -n in the mailserver/docker-mailserver:16.0.1 image for: chart defaults, full text search enabled, debug: true with substringSearch: false, and PROXY protocol disabled.
  • helm unittest passes (snapshots regenerated for the renamed ConfigMap and mount) and helm lint is clean.
  • Upgraded a production deployment from 5.1.0: services start, IMAPS and SMTP submission work through PROXY protocol, external mail is received and sent, and the flatcurve indexes build.

🤖 Generated with Claude Code

cfis and others added 2 commits October 26, 2026 20:21
docker-mailserver 16 moves to Debian 13 and Dovecot 2.4, which no longer
loads 2.3 style configuration.

* Replace the fts-xapian configuration, which used 2.3 syntax and is no
  longer supported by docker-mailserver, with Dovecot's flatcurve plugin.
  Mount it at 90-fts-flatcurve.conf instead of over 10-plugin.conf.
* Replace dovecot.fullTextSearch.verbose with debug, drop the unused cron
  values, and add substringSearch to keep partial word matching.
* Point the PROXY protocol comment at the v16 docs (the commands are
  unchanged).
* Document the upgrade, including rebuilding search indexes and the
  removal of SA_SPAM_SUBJECT.

Validated the rendered Dovecot configuration with doveconf in the
16.0.1 image, with full text search and PROXY protocol on and off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
deployment.securityContext is now applied (docker-mailserver#198), which changes the pod
for anyone who had set it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The 6.0.0 version bump moves to the probes change (docker-mailserver#135), which depends
on docker-mailserver 16, so both are released together.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cfis
cfis merged commit c253230 into docker-mailserver:master Oct 27, 2026
5 checks passed
cfis added a commit to radicand/docker-mailserver-helm that referenced this pull request Oct 27, 2026
Releases docker-mailserver 16 (docker-mailserver#199), the securityContext fix (docker-mailserver#198) and
the dms-healthcheck probes together.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cfis cfis mentioned this pull request Oct 27, 2026
cfis added a commit that referenced this pull request Oct 27, 2026
Releases docker-mailserver 16 (#199), the securityContext fix (#198)
and the dms-healthcheck probes (#135).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant