I have a few accounts of my own on shared hosting that has cPanel. Each account has websites + databases which I can/know how to migrate, and each account has several emails with filters (forwards). I'll set up a linux node without cPanel, and maybe I'll put webmin on it. Can I somehow migrate those email accounts without opening each one from scratch on new server and assigning passwords and redirects anew? I'd appreciate any pointers. I've tried googling, to no avail so far.
You can install virtualmin (webmin web hosting panel addon):
Virtualmin have a cpanel accounts import tool.