On 10/24/25 12:15 AM, Carl Smedstad wrote:
As mentioned in this thread, 2.4 comes with breaking changes to the
configuration. We haven't gotten around to migrating the configuration of our
own (archlinux.org) mail server, but I'm sure we will soon enough.
Question,
The new dovecot.conf documentation is ambiguous whether setting:
dovecot_config_version = 2.3.21
dovecot_storage_version = 2.3.21
(e.g. to the current version) will allow current config and storage to
work without changes on upgrade. The documentation for
dovecot_config_versions states:
"When there are default configuration changes in newer Dovecot versions,
the existing installations will continue to work the same as before with
the same default settings until this version number is increased."
The dovecot_storage_version states:
"... specifies the oldest Dovecot version that must be able to read
files written by this Dovecot instance."
What neither specify is whether this applies to existing dovecot
version 2.3.x and version 2.4.x or if this only applies for versions
2.4.x forward?
It would be nice to be able to stop dovecot, specify 2.3.21 in the
config, upgrade and restart dovecot and have the current config
respected. Does anybody know if the values for both
dovecot_{config,storage}_version can be set to 2.3.21 for initial
update, or if this feature is just for versions 2.4.x forward?
--
David C. Rankin, J.D.,P.E.