Best way to clone emails to another server?

Started by Roman, April 04, 2020, 03:23:30 PM

Previous topic - Next topic

Roman

Hello,

Recently i set up new server, more powerful than my earlier and added whmch also. Since i want every account managed by whmch i need to manually migrate my  clients from my old server and add them again via whmch. But what is the best way copy/clone emails from client accounts? Does copying  /var/vmail/myclientmail to new server same place do the trick?

Thanks

vk

Yes, it will work, that's how I did it a few months ago. But you will have to set the permission too. Also before copying anything, I made sure I had created accounts for every client and did them one by one. Not sure if that was necessary, just wanted to be safe and avoid uncomfortable phone calls with clients who lost emails.

Also if you want to transfer the passwords, you can do that too through the Postfix table on MySQL. Let me know if you need more information on that.

Roman