That’s me! I got dovecot in docker working for email archive, and moved all my old emails there. I access them through thunderbird on pc and k-9 mail on phone. Works great!
It took a bit of time to set up the passwords, and understanding the configuration. I used the lets encrypt certs from caddy.
I had to look at some different examples of the dovecot config file to get it right