The script below will give you the list of all email accounts on your server + the password. That will change all email passwords to “Qwe123Qwe” Simply run the script given below and that will change all mail account passwords to “Qwe123Qwe” for i in `mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -Ns -e "select as address from mail,domains,accounts where mail.dom_id=domains.id and mail.account_id=accounts.id order by address"` do /usr/local/psa/bin/mail -u $i -passwd_type encrypted -passwd 'Qwe123Qwe' done Then you are good to go).ġ) Suppose there are hundreds of accounts, so manually changing passwords is not an option. So make sure IMAP is working fine, and the port is open. As I mentioned, these tools work with IMAP. It’s a Plesk to cPanel migration ( doesn’t mean you can’t follow these steps if the platform is something else.
#Cpanel plesk how to#
So let’s see how to do an email migration with “IMAPCopy”. Most of the admins are familiarized with imapsync and the working. When it’s about protocol, it will be the same on all platforms, and the working will be the same. They are syncing the mailboxes using the IMAP protocol. But how do these tools work? Simple, these tools are not even checking the mail server environment or platform details. IMAPCopy is another tool, and that will do the same thing. “Command line” means it’s not a graphical tool on Windows, you have to run imapsync in a DOS box (cmd.exe) or from a batch file. “Recursive” means the complete folders hierarchy can be copied. “Incremental” means you can stop the transfer at any time and restart it later efficiently.
#Cpanel plesk software#
( There is a feature called FetchMail in cPanel Horde, and you can use that tool to fetch the mail accounts, but it also has some limitations and not a good idea to migrate a large number of mail accounts )Īccording to the official website, imapsync software is a command-line tool that allows incremental and recursive IMAP transfers from one mailbox to another, anywhere on the internet or in your local network. Let me introduce two tools that we can use in this situation. So how is it even possible? Is it possible? Yes, it is possible ( Common! Read the subject line ) Simply copy-paste the contents won’t work here, and that is not at all an option. Two different platforms and two different environments. But how to do the email migration?! Plesk is using Qmail/Postfix, and cPanel is using Exim. Transfer the database dump to the cPanel server, and restoration will complete the database migration also. Creating the domain in the cPanel server and transferring the contents to the document root will complete the content migration. There are three parts – Content migration, Database migration, and Email migration. So Let’s talk about Plesk to cPanel migration.
#Cpanel plesk manual#
( From experience, I always suggest doing a manual migration when it is Plesk to cPanel ) cPanel also has this migration wizard, but sometimes it won’t work as expected, and that is when we have to do a manual migration. cPanel to Plesk migration is easy Plesk has this migration manager that will take care of everything, including mails. Emails are always a headache when you are migrating.