On Sun, 2025-07-13 at 10:35 +0300, Aki Tuomi via dovecot wrote:
On 12/07/2025 16:08 EEST Andreas Haerter via dovecot <dovecot@dovecot.org> wrote:
No concrete decision has been made yet, but we are planning on making on later this year.
Aki
My experience with upgrade from 2.3 to 2.4.
My advice:
i) upgrade to 2.4.1
2) avoid 'doveadm reload' and stick with restart until the core
dump gets sorted out [1]
3) Avoid naming any (non-default) sieve script 'default'.
Some details
The configs do change - the docs have a decent opening section on what needs to be changed and a lot of detail on the new configurations and why things changed.
I followed the section on uggrading from 2.3 to 2.4, then went over specific items in the full documentation as well.
IMHO, the new configs are much better than the older ones and worth the small amount of time / effort to migrate over.
(i) I tested first on a small standalone setup - it went fairly smoothly (other than an odd typo I made!).
(ii) Next I migrated the production configs (under separate directory), and went over them a few times.
(iii) Next, I shutdown production mail (postfix and dovecot) - and flipped the configs over 2.4, updated and started everything back up again.
(iv) All worked smoothly aside from pigeonhole sieve. I encountered 2 issues there. (a) non-root users need access to the certificate chain in order to be able to run "sievec". Quirky but easy enough to work around.
(b) I had named my "after" sieve script "default" which somehow caused problems. Renaming it and everything ran properly.
(v) Its been running fine every since aside from 1 core dump that happened later.
Core dump was triggered by "doveadm reload". The reload for me was in the toolkit that handles renewal;s for letsencrypt certs - I changed the tool to "restart" to avoid further core dumps.
I have not been able to reproduce the core dump in non-production. So the core dump seems to require having more clients perhaps and remains an outstanding issue.
Aki - any thoughts on the 'doveadm reload' crash? [1]
[1] https://dovecot.org/mailman3/archives/list/dovecot@dovecot.org/thread/CFH55D...
-- Gene