| SYSTEM INFORMATION | |
|---|---|
| OS type and version | Fedoa 43 |
| Webmin version | 2.610 |
| Virtualmin version | 7.50.2 GPL |
| Webserver version | Not relevant |
| Related packages | Dovecot CE |
Heads-up (not a support request)
I’m running Virtualmin servers across mixed environments (Fedora, Alma; mostly GPL, some PRO). I usually fix my own issues, and minor bugs often get resolved after reports here or on GitHub.
Recently, I’ve noticed more Linux distributions upgrading to Dovecot 2.4, which breaks existing configs since the format is incompatible with 2.3.x. On my Grade B supported GPL systems, configs fail completely, and I’ve been fixing them manually. These installs are mostly for convenience, and in many cases Dovecot isn’t even in use so i have not given it too much attention to begin with.
Key breaking changes in Dovecot 2.4
- Configs now require a defined version for the config and storage setup
- SSL/certificate definitions have changed
%dvariable is no longer valid- Auth configuration format is different
- Mailbox format/setup has changed
- Not just a simple change of config keywords
Why it matters
There’s no auto-migration between 2.3 and 2.4. Once 2.4 hits Grade A OS repos, many users will likely face broken mail setups as they upgrade their packages and blame Virtualmin. It may be worth reviewing compatibility now, since Virtualmin already manages daemon behavior via profiles / server templates i think it should not be too hard to rewrite a new config that fits the intended server behavior / templated layout based on it.
I haven’t yet tested how Let’s Encrypt auto-renew interacts with 2.4, or how other virtualmin domain changes may affect dovecot, but on GPL installs after the rpm upgrade, configs break fully.
Some pages that i used in figuring out how to get my dovecot instances back up and running and proof that this is a major issue incoming in many Linux flavors. I have no affiliation in any way with any of the links, just found them to be good information.
- 2.3 to 2.4 | Dovecot CE
- Migration | Dovecot CE
- Migrating old Dovecot configuration to Dovecot 2.4 (Debian Trixie)
- Changes/Dovecot2.4 - Fedora Project Wiki
- WARNING: Dovecot 2.4 incompatible with 2.3 config files - Pre-Release Discussion - Ubuntu Community Hub
Summary
This is just a **heads-up for @Jamie and @Joe **: Dovecot 2.4 introduces major config changes that could cause widespread issues once adopted in supported OS repos. Better to prepare now than deal with a flood of support requests later when 2.4 hits those repo’s.
– Steven