When migrating #dovecot to a new server running #debian #trixie, no one told me that with dovecot 2.4.0 basically the whole configuration logic changed and that you need to completely re-write your config.

@Billie That is indeed the reason why I have held off doing my main mailserver so far.

Good luck :(

@neil

Thanks, most of the work is already done. Postfix and dovecot work on the new machine.

Just the virtual user config is still buggy in dovecot (and therefore temporarily disabled), will fix that tomorrow.

Reason is that the virtual user database is stored in mysql, and this configuration still needs a rewrite.

@Billie Ouch! And such "breaking change" was not warned about?!? Oof…
@IzzyOnDroid @Billie here is a tool that can maybe hell: https://dovecot.org/upgrader/
Config upgrader

@ErikDerBezwinger even more hell? 🙈 Thanks, might even be "help" 🤪 @Billie
@IzzyOnDroid @Billie help of course ;)
I won't edit the text. Everyone needs fun.
@[email protected]
When upgrading you get warned. When you do a fresh install probably not, as there are no old configs anyway.
@[email protected]

See https://salsa.debian.org/debian/dovecot/-/blob/master/debian/dovecot-core.NEWS?ref_type=heads#L1
debian/dovecot-core.NEWS · master · Debian / dovecot · GitLab

Secure POP3/IMAP server

GitLab