How to quickly migrate mail from Evolution to Thunderbird with Dovecot

Fedora 22 is just around the corner and while upgrading my machine, I decided to completely ditch Gnome’s Evolution in favor of Mozilla Thunderbird. I had already switched a while back, but still had tons of mail in an old local Evolution account I wanted to migrate. Unfortunately all HowTos I found on the web …