The following.This feature can automatically configure your email client to access your cPanel email address. ( From experience, I always suggest doing a manual migration when it is Plesk to cPanel )Non-cPanel accounts: If your account with your previous hosting provider did not include cPanel, the e-mail data must be migrated manually. CPanel also have 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 have this migration manager and that will take care of everything including mails. You will need to modify the settings below to match the domain for your account.Emails are always a headache when you are doing migration. QUICK METHOD: You can find the correct settings for your email addresses in your cPanel > Mail Accounts > More button > Configure Email Client The basic settings and set up instructions for our cPanel accounts are listed below: Generic Settings: NOTE: These are the generic and default settings for your account.Log Into Your File Manager 2. To access this feature, click the More button corresponding to the appropriate email account.How to Backup Your Email Accounts and Messages via cPanels File Manager 1. Outlook Express and Apple/Mac Mail are examples of email clients.But how to do the email migration?! Plesk is using Qmail/Postfix and cPanel is using Exim. ( I’ll create a doc soon ). Create the domain in the cPanel server and transfer the contents to the document root will complete the content migration. Transfer the database dump to cPanel server and a restoration will complete the database migration also. The first two parts are easy. There are three parts – Content migration, Database migration and Email migration. Compress Your Email.So Let’s talk about Plesk to cPanel migration.
( There is a feature called FetchMail in cPanel Horde and you can use that tool to fetch the mail accounts but it also have some limitations and not a good idea to migrate large number of mail accounts )According to official website, imapsync software is a command line tool that allows incremental and recursive IMAP transfers from one mailbox to another, both anywhere on the internet or in your local network. It will act as an email client just like you can add multiple email accounts to Outlook or MacMail, So how is it even possible? Is it possible? Yes it is possible ( Common! Read the subject line □ )Let me introduce two tools that we can use in this situation. Google Mail Fetcher functionality allows you to add your cPanel email account into Gmail webmail, so you will be able to conveniently check both accounts in one place. For detailed information about how to start the cPanel migration process using the A2 Hosting Customer Portal, please see this article. Simply copy paste the contents won’t work here and that is not at all an option.If your account with your previous hosting provider included cPanel, and your A2 Hosting account is empty, A2 Hosting can migrate the entire cPanel account, including all of your e-mail accounts. When it’s about protocol, it will be same in all platform and the working will be same.Most of the admins are familiarized with imapsync and the working. They are syncing the mailboxes using IMAP protocol. But how these tools works? Simple, these tools are not even checking the mail server environment or platform details. “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.IMAPCopy is another tool and that will do the same thing. “Recursive” means the complete folders hierarchy can be copied. Cpanel Export Email Account Mail Password Is NotThen you are good to go) Login to Plesk Server1) Suppose there are hundreds of accounts, so manually changing password is not an option. So just make sure IMAP is working fine and the port is open. As I mentioned, these tools work with IMAP. It will work in all platforms. Mac so an emulator or virtual machineLogin to cPanel Server1) In this cPanel server we have to create all emails that we have in the Plesk server. Now let’s login to our cPanel server and follow the rest of the steps. I want you to note this and store this in a separate file because we will need this list later.So that’s all we need from the Plesk server. By running this script you will also get the list of all email accounts in the server. Plesk:~# mysql -uadmin -p$(cat /etc/psa/.psa.shadow) -Dpsa -e "SELECT FROM domains,mail,accounts WHERE domains.id=mail.dom_id AND accounts.id=mail.account_id ORDER BY domains.name ASC,mail.mail_name ASC "+-+-+See! It’s done. What is the name of the symbol for mac photoshop step backFirst create a file called “/home/mail.accounts” with the name of all email account that you have to create ( which you already have ).( Note : I assume you already created all domain account in the server )Eg, # cat run the script given below and that will create emails account given in “/home/mail.accounts” with the password “Qwe123Qwe” for i in $(cat /home/mail.accounts) do /scripts/addpop $i 'Qwe123Qwe' doneSo now we created the same email account in our cPanel server now it’s time to sync the mail contents with IMAPCopy.2) Let’s install IMAPCopy # cd /opt/ # wget # tar -xvf imapcopy.tar.gzImapcopy/ImapCopy.cfg # cd # lsAs you can see, it’s a simple tool. So we have to write a script for that and I already did. But suppose we have lot of email accounts. Just need to change the source and destination server configurations )5) Then you can see the section “List of users and passwords”. ( You can run this same script from Plesk server. Then under the “Destinationserver” section, give the Plesk server IP/Hostname and IMAP post. In this case you don’t have to change anything because the source server is this machine. Under the “Sourceserver” section, give the source server IP/Hostname and IMAP port. #DestPort 143 # SourceUser SourcePassword DestinationUser DestinationPassword4) You already know what to do. ![]() Before starting the migration if you want to test the working, you can run imapcopy script with “-t” switch. ) for i in $(cat /home/mail.accounts) do echo "Copy "$i" "Qwe123Qwe" "$i" "Qwe123Qwe"" > /opt/imapcopy/ImapCopy.cfg doneNow you are all set. If you set it something else, make sure to change that also. Also, I have set all email account passwords ( Both in source and destination server ) to “Qwe123Qwe”. ![]()
0 Comments
Leave a Reply. |
AuthorDeborah ArchivesCategories |