A little bit nervy… but finally ripping the band-aid on bumping my mail server to AlpineLinux 3.23.
Been putting it off for months… Alpine 3.22 brought in Dovecot 2.4, which has a new configuration schema, so I needed to figure out how to migrate my settings over to the new version.
Last month, I made an exact copy of the mail server in Ceph, fully intending to tackle this before I go back to work. Only today did I get around to finally biting the bullet and trying a migration.
I mounted the new VMs disks, temporarily changed IP address/hostname settings, then fired it up, did my OS updates, then started hacking.
PostgreSQL needed a dump/restore as I was moving from v16 to v18… easy.
OpenLDAP seemed to JustWork.
Dovecot took some tweaking to get it to talk to LDAP again, but it seems to be okay on the test copy.
I then tried telnetting to port 25 and hand-sending an email to myself … that landed in the right place. So I think settings are correct.
I've just cloned this new VM's OS image again, I'll undo my IP/hostname changes on that, and that'll become the new master image.
Just waiting for my mail store to copy across so I don't accidentally nuke some 20 years worth of email.

