{"id":357,"date":"2026-11-17T13:05:52","date_gmt":"2026-11-17T20:05:52","guid":{"rendered":"https:\/\/hostandtech.com\/kb\/?p=357"},"modified":"2026-11-17T13:05:52","modified_gmt":"2026-11-17T20:05:52","slug":"migrate-email-to-new-host","status":"publish","type":"post","link":"https:\/\/hostandtech.com\/kb\/email\/migrate-email-to-new-host\/","title":{"rendered":"How to Migrate Email to a New Host Without Losing Mail (cPanel and imapsync)"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>To migrate email to a new host without losing messages, create the same mailboxes on the new server, copy the mail across over IMAP, switch your MX records, and then copy once more a day later to catch anything that arrived at the old server while DNS was changing. If both hosts run cPanel, a full account transfer moves the mailboxes for you and you can skip the copying steps.<\/p>\n<p>This guide is for small business owners and the people who look after their email: moving from one hosting company to another, or from a server you&#8217;re shutting down. The plan below keeps every mailbox working throughout. Nobody has to stop sending email for a day, and mail that arrives during the switch still ends up in the new mailbox.<\/p>\n<h2>Prerequisites<\/h2>\n<ul>\n<li>A list of every address on the domain and its password (or the ability to reset passwords on both sides).<\/li>\n<li>IMAP access to the old server. If people use POP3, read the note in Step 1 first.<\/li>\n<li>The new hosting account set up, with enough mailbox quota for the largest mailbox.<\/li>\n<li>Access to the domain&#8217;s DNS, wherever it&#8217;s hosted.<\/li>\n<li>For more than two or three mailboxes: a Linux machine or VPS with <code class=\"\" data-line=\"\">imapsync<\/code> installed. For one or two, a desktop mail app such as Thunderbird is enough.<\/li>\n<\/ul>\n<h2>Step-by-step: migrate email to a new host<\/h2>\n<figure class=\"wp-block-image\"><img src=\"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/email-migration-timeline.webp\" alt=\"Email migration timeline: lower TTL, create mailboxes, first sync, switch MX, final sync, cancel old hosting\" width=\"1000\" height=\"600\" loading=\"lazy\" decoding=\"async\"><figcaption>The order that keeps mail flowing: copy first, switch MX, then copy again.<\/figcaption><\/figure>\n<h3>Step 1: List what you&#8217;re moving<\/h3>\n<p>Write down every mailbox and its size (cPanel <strong>Email &gt; Email Accounts<\/strong> shows both), plus everything that isn&#8217;t a mailbox: forwarders, autoresponders, mailing lists and filters. IMAP copying moves messages and folders only. Forwarders and filters have to be recreated by hand on the new host, and they&#8217;re the part people forget until a customer&#8217;s email to sales@ goes nowhere.<\/p>\n<p>Ask who uses POP3. A POP3 mail app usually downloads messages and deletes them from the server, so the mail lives on someone&#8217;s computer rather than on the old host. IMAP copying can&#8217;t reach it. Those users keep their mail where it is and point their app at the new server afterwards; <a href=\"https:\/\/hostandtech.com\/kb\/comparison\/imap-vs-pop3\/\">IMAP vs POP3<\/a> explains how to move them to IMAP while you&#8217;re at it.<\/p>\n<h3>Step 2: Lower the MX record&#8217;s TTL a day ahead<\/h3>\n<p>In the DNS zone, set the TTL on the MX record (and on <code class=\"\" data-line=\"\">mail.example.com<\/code>) to 300 seconds. Do this at least one full old TTL before the switch, often 24 hours, so resolvers drop the cached value quickly when you change it. <a href=\"https:\/\/hostandtech.com\/kb\/domains\/understanding-dns-propagation-time\/\">DNS propagation explained<\/a> covers why this matters.<\/p>\n<h3>Step 3: Create the mailboxes on the new host<\/h3>\n<p>Create each address on the new server with the same name, a quota larger than its current size, and either the same password or a new one you&#8217;ll hand out. Don&#8217;t change MX yet. The new mailboxes stay empty and quiet until Step 5.<\/p>\n<h3>Step 4: Copy the mail (first sync)<\/h3>\n<p><strong>Both hosts on cPanel:<\/strong> ask the new host to transfer the whole account, or restore a full backup from the old one. Mailboxes, folders and passwords come across together. The process is the same as in <a href=\"https:\/\/hostandtech.com\/kb\/shared\/migrate-shared-hosting-to-vps\/\">moving a cPanel account to a new server<\/a>.<\/p>\n<p><strong>Any other combination:<\/strong> use imapsync. Until DNS changes, <code class=\"\" data-line=\"\">mail.example.com<\/code> still points at the old server, so connect to the new one by its server hostname or IP address. Put each password in a file so it doesn&#8217;t end up in your shell history, and start with a dry run:<\/p>\n<div class='ht-code-snippet'><button class='ht-code-snippet__copy' onclick='htCopyCode(\"code-block-1\")' type='button' aria-label='Copy code'><svg class='ht-copy-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z'><\/path><path d='M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z'><\/path><\/svg><svg class='ht-check-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M13,24l-9-9,1.414-1.414L13,21.171,26.586,7.586,28,9Z'><\/path><\/svg><\/button><span class='ht-code-snippet__feedback'>Copied to clipboard<\/span><\/p>\n<pre class='ht-code-snippet__code' id='code-block-1'><code class=\"\" data-line=\"\">imapsync &#092;\n  --host1 mail.oldhost.example --user1 info@example.com --passfile1 ~\/old.txt &#092;\n  --host2 server12.newhost.example --user2 info@example.com --passfile2 ~\/new.txt &#092;\n  --ssl1 --ssl2 --automap --dry<\/code><\/pre>\n<\/div>\n<p>The dry run lists the folders on each side and how they&#8217;ll map, without copying anything. <code class=\"\" data-line=\"\">--automap<\/code> lines up the special folders (Sent, Drafts, Trash, Junk) even when the two servers name them differently. When the mapping looks right, run the same command without <code class=\"\" data-line=\"\">--dry<\/code>. Large mailboxes take hours, so run it inside <code class=\"\" data-line=\"\">screen<\/code> or <code class=\"\" data-line=\"\">tmux<\/code> so a dropped SSH session doesn&#8217;t stop it.<\/p>\n<p>For several mailboxes, put them in a file with one line per account (<code class=\"\" data-line=\"\">address;oldpassword;newpassword<\/code>) and loop over it:<\/p>\n<div class='ht-code-snippet'><button class='ht-code-snippet__copy' onclick='htCopyCode(\"code-block-2\")' type='button' aria-label='Copy code'><svg class='ht-copy-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z'><\/path><path d='M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z'><\/path><\/svg><svg class='ht-check-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M13,24l-9-9,1.414-1.414L13,21.171,26.586,7.586,28,9Z'><\/path><\/svg><\/button><span class='ht-code-snippet__feedback'>Copied to clipboard<\/span><\/p>\n<pre class='ht-code-snippet__code' id='code-block-2'><code class=\"\" data-line=\"\">while IFS=&#039;;&#039; read -r user p1 p2; do\n  imapsync --host1 mail.oldhost.example --user1 &quot;$user&quot; --password1 &quot;$p1&quot; &#092;\n    --host2 server12.newhost.example --user2 &quot;$user&quot; --password2 &quot;$p2&quot; &#092;\n    --ssl1 --ssl2 --automap\ndone &lt; accounts.csv<\/code><\/pre>\n<\/div>\n<p>Delete the password files and the CSV when you&#8217;re finished.<\/p>\n<p><strong>One or two mailboxes, no server:<\/strong> add both accounts to Thunderbird as IMAP, select the messages in each old folder and drag them to the matching folder in the new account. It&#8217;s slow for big mailboxes but needs nothing installed. Pick one method per mailbox. Mixing a drag-and-drop with a later imapsync run is the usual way people end up with duplicates.<\/p>\n<h3>Step 5: Switch the MX records<\/h3>\n<p>Change the MX record to the new host&#8217;s mail server and update <code class=\"\" data-line=\"\">mail.example.com<\/code> if you use it. Update the SPF record to allow the new server too, or mail you send will start landing in spam: see <a href=\"https:\/\/hostandtech.com\/kb\/domains\/how-to-create-spf-record\/\">how to create an SPF record<\/a>. If you&#8217;re moving the domain&#8217;s nameservers to the new host at the same time, check the MX and SPF records exist in the new zone before you switch.<\/p>\n<h3>Step 6: Run the sync again a day later<\/h3>\n<p>Some senders keep the old MX cached for a while, so a few messages still land on the old server after the switch. 24 to 48 hours later, run exactly the same imapsync command again. imapsync skips messages that already exist on the new server, so this second run copies only what&#8217;s new and finishes in minutes.<\/p>\n<h3>Step 7: Point everyone&#8217;s mail apps at the new server<\/h3>\n<p>Give users the new incoming and outgoing server names, ports and their passwords. Our <a href=\"https:\/\/hostandtech.com\/kb\/email\/cpanel-email-settings-outlook-iphone-android\/\">cPanel email settings for Outlook, iPhone and Android<\/a> guide has the exact screens. Keep the old hosting account for about a week as a safety net, then cancel it.<\/p>\n<h2>Verify nothing was lost<\/h2>\n<ul>\n<li>At the end of each run, imapsync prints a summary. <code class=\"\" data-line=\"\">Messages found in host1 not in host2 : 0 messages<\/code> is what you want to see. Any other number means a rerun or a look at the errors above it.<\/li>\n<li>Compare the size of each mailbox on both servers. They won&#8217;t match to the byte, but they should be close.<\/li>\n<li>Check MX from outside: <code class=\"\" data-line=\"\">dig +short MX example.com<\/code> should return the new server only.<\/li>\n<li>Send a message from a Gmail or Outlook.com address and open its headers. The last &#8220;Received&#8221; line should show the new server.<\/li>\n<\/ul>\n<h2>Common Issues &amp; Troubleshooting<\/h2>\n<h3>NO [AUTHENTICATIONFAILED] Authentication failed<\/h3>\n<p><strong>Cause:<\/strong> a wrong password, or a provider that no longer accepts plain IMAP passwords. Google Workspace and Microsoft 365 both block ordinary password logins for IMAP by default.<\/p>\n<p><strong>Fix:<\/strong> check the password by logging in to webmail on that server. For Google, create an app password (it needs 2-Step Verification on the account). For Microsoft 365, use an OAuth access token with imapsync&#8217;s <code class=\"\" data-line=\"\">--oauthaccesstoken1<\/code> option, or Microsoft&#8217;s own migration tools.<\/p>\n<h3>Sent and Trash end up as duplicate folders<\/h3>\n<p><strong>Cause:<\/strong> the servers name special folders differently (for example <code class=\"\" data-line=\"\">INBOX.Sent<\/code> and <code class=\"\" data-line=\"\">Sent Items<\/code>) and the copy ran without folder mapping.<\/p>\n<p><strong>Fix:<\/strong> add <code class=\"\" data-line=\"\">--automap<\/code>, check the mapping with <code class=\"\" data-line=\"\">--dry<\/code>, then move any stray messages and delete the empty extra folders on the new server.<\/p>\n<h3>Mailbox is full on the new server<\/h3>\n<p><strong>Cause:<\/strong> the new mailbox quota is smaller than the old mailbox.<\/p>\n<p><strong>Fix:<\/strong> raise the quota in <strong>Email Accounts &gt; Manage<\/strong> and run imapsync again. It carries on where it stopped.<\/p>\n<h3>Mail still arrives at the old server days later<\/h3>\n<p><strong>Cause:<\/strong> the old MX is still published somewhere, often because the domain&#8217;s nameservers still point at the old host, or a second MX record was left behind.<\/p>\n<p><strong>Fix:<\/strong> check <code class=\"\" data-line=\"\">dig +short NS example.com<\/code> and <code class=\"\" data-line=\"\">dig +short MX example.com<\/code>, remove any old MX record, and run the sync again. If mail goes missing after the move, <a href=\"https:\/\/hostandtech.com\/kb\/email\/cpanel-email-not-receiving-or-sending\/\">cPanel email not receiving or sending<\/a> walks through the checks.<\/p>\n<p>Moving business email to Canadian servers? Every <a href=\"https:\/\/hostandtech.com\/cloudlinux-cpanel-shared-hosting\">Host &amp; Tech cPanel hosting<\/a> plan includes email accounts on your own domain, with webmail and IMAP.<\/p>\n<div class=\"ht-faq-section\">\n<h2>Frequently Asked Questions<\/h2>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">Will I lose email when I change hosting providers?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>Not if you copy the mailboxes before switching MX and run a second sync a day later. The second sync catches messages that reached the old server while DNS was updating, which is where mail usually goes missing.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">How long does an email migration take?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>The copy runs at roughly the speed of the slower server, often a few gigabytes an hour, so a large mailbox can take an evening. Plan two days end to end: one with lowered TTLs before the switch, and one after it for the final sync.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">Can I migrate email from Gmail or Microsoft 365 to cPanel hosting?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>Yes. imapsync works with both, but they don\u2019t accept plain passwords over IMAP. Google needs an app password, and Microsoft 365 needs an OAuth token, after which the steps are the same.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">Do forwarders and email filters move with the mailboxes?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>No. IMAP copying moves messages and folders only. Recreate forwarders, autoresponders, mailing lists and filters on the new host by hand, unless both hosts run cPanel and you transfer the whole account.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">What happens to POP3 email when I move hosts?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>POP3 apps usually download and delete mail from the server, so those messages stay on the user\u2019s computer and aren\u2019t affected. Point the app at the new server afterwards, and consider switching it to IMAP so mail is kept on the server.<\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Move every mailbox to a new host without losing a message: create the accounts, copy mail with imapsync or a cPanel transfer, switch MX, and run a second sync a day later to catch the stragglers.<\/p>\n","protected":false},"author":1,"featured_media":350,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[55],"tags":[57,110,56,191,58],"class_list":["post-357","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-email","tag-business-email","tag-cpanel-email","tag-email-hosting","tag-email-migration","tag-mx-records"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Migrate Email to a New Host Without Losing Mail<\/title>\n<meta name=\"description\" content=\"Migrate email to a new host without losing mail: create mailboxes, copy them with imapsync or a cPanel transfer, switch MX, then sync again a day later.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostandtech.com\/kb\/email\/migrate-email-to-new-host\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Migrate Email to a New Host Without Losing Mail\" \/>\n<meta property=\"og:description\" content=\"Migrate email to a new host without losing mail: create mailboxes, copy them with imapsync or a cPanel transfer, switch MX, then sync again a day later.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostandtech.com\/kb\/email\/migrate-email-to-new-host\/\" \/>\n<meta property=\"og:site_name\" content=\"Host And Tech knowledge base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/stshostandtech\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-17T20:05:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/migrate-email-to-new-host.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@stshostandtech\" \/>\n<meta name=\"twitter:site\" content=\"@stshostandtech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/email\\\/migrate-email-to-new-host\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/email\\\/migrate-email-to-new-host\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/person\\\/b6fa79c48ddaba71af32e395c5b017ee\"},\"headline\":\"How to Migrate Email to a New Host Without Losing Mail (cPanel and imapsync)\",\"datePublished\":\"2026-11-17T20:05:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/email\\\/migrate-email-to-new-host\\\/\"},\"wordCount\":1533,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/email\\\/migrate-email-to-new-host\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/migrate-email-to-new-host.webp\",\"keywords\":[\"business email\",\"cPanel email\",\"email hosting\",\"email migration\",\"MX records\"],\"articleSection\":[\"Email Hosting\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hostandtech.com\\\/kb\\\/email\\\/migrate-email-to-new-host\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/email\\\/migrate-email-to-new-host\\\/\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/email\\\/migrate-email-to-new-host\\\/\",\"name\":\"How to Migrate Email to a New Host Without Losing Mail\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/email\\\/migrate-email-to-new-host\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/email\\\/migrate-email-to-new-host\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/migrate-email-to-new-host.webp\",\"datePublished\":\"2026-11-17T20:05:52+00:00\",\"description\":\"Migrate email to a new host without losing mail: create mailboxes, copy them with imapsync or a cPanel transfer, switch MX, then sync again a day later.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/email\\\/migrate-email-to-new-host\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hostandtech.com\\\/kb\\\/email\\\/migrate-email-to-new-host\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/email\\\/migrate-email-to-new-host\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/migrate-email-to-new-host.webp\",\"contentUrl\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/migrate-email-to-new-host.webp\",\"width\":1200,\"height\":630,\"caption\":\"Migrating email from an old host to a new host: sync, switch MX, sync again\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/email\\\/migrate-email-to-new-host\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Migrate Email to a New Host Without Losing Mail (cPanel and imapsync)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/\",\"name\":\"Host And Tech knowledge base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#organization\",\"name\":\"Host And Tech knowledge base\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/logo-dark.png\",\"contentUrl\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/logo-dark.png\",\"width\":1134,\"height\":395,\"caption\":\"Host And Tech knowledge base\"},\"image\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/stshostandtech\",\"https:\\\/\\\/x.com\\\/stshostandtech\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/person\\\/b6fa79c48ddaba71af32e395c5b017ee\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/hostandtech.com\\\/kb\"],\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/author\\\/admin_fjj7qydm\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Migrate Email to a New Host Without Losing Mail","description":"Migrate email to a new host without losing mail: create mailboxes, copy them with imapsync or a cPanel transfer, switch MX, then sync again a day later.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hostandtech.com\/kb\/email\/migrate-email-to-new-host\/","og_locale":"en_US","og_type":"article","og_title":"How to Migrate Email to a New Host Without Losing Mail","og_description":"Migrate email to a new host without losing mail: create mailboxes, copy them with imapsync or a cPanel transfer, switch MX, then sync again a day later.","og_url":"https:\/\/hostandtech.com\/kb\/email\/migrate-email-to-new-host\/","og_site_name":"Host And Tech knowledge base","article_publisher":"https:\/\/www.facebook.com\/stshostandtech","article_published_time":"2026-11-17T20:05:52+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/migrate-email-to-new-host.webp","type":"image\/webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@stshostandtech","twitter_site":"@stshostandtech","twitter_misc":{"Written by":"admin","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostandtech.com\/kb\/email\/migrate-email-to-new-host\/#article","isPartOf":{"@id":"https:\/\/hostandtech.com\/kb\/email\/migrate-email-to-new-host\/"},"author":{"name":"admin","@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/person\/b6fa79c48ddaba71af32e395c5b017ee"},"headline":"How to Migrate Email to a New Host Without Losing Mail (cPanel and imapsync)","datePublished":"2026-11-17T20:05:52+00:00","mainEntityOfPage":{"@id":"https:\/\/hostandtech.com\/kb\/email\/migrate-email-to-new-host\/"},"wordCount":1533,"commentCount":0,"publisher":{"@id":"https:\/\/hostandtech.com\/kb\/#organization"},"image":{"@id":"https:\/\/hostandtech.com\/kb\/email\/migrate-email-to-new-host\/#primaryimage"},"thumbnailUrl":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/migrate-email-to-new-host.webp","keywords":["business email","cPanel email","email hosting","email migration","MX records"],"articleSection":["Email Hosting"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hostandtech.com\/kb\/email\/migrate-email-to-new-host\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hostandtech.com\/kb\/email\/migrate-email-to-new-host\/","url":"https:\/\/hostandtech.com\/kb\/email\/migrate-email-to-new-host\/","name":"How to Migrate Email to a New Host Without Losing Mail","isPartOf":{"@id":"https:\/\/hostandtech.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostandtech.com\/kb\/email\/migrate-email-to-new-host\/#primaryimage"},"image":{"@id":"https:\/\/hostandtech.com\/kb\/email\/migrate-email-to-new-host\/#primaryimage"},"thumbnailUrl":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/migrate-email-to-new-host.webp","datePublished":"2026-11-17T20:05:52+00:00","description":"Migrate email to a new host without losing mail: create mailboxes, copy them with imapsync or a cPanel transfer, switch MX, then sync again a day later.","breadcrumb":{"@id":"https:\/\/hostandtech.com\/kb\/email\/migrate-email-to-new-host\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostandtech.com\/kb\/email\/migrate-email-to-new-host\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostandtech.com\/kb\/email\/migrate-email-to-new-host\/#primaryimage","url":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/migrate-email-to-new-host.webp","contentUrl":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/migrate-email-to-new-host.webp","width":1200,"height":630,"caption":"Migrating email from an old host to a new host: sync, switch MX, sync again"},{"@type":"BreadcrumbList","@id":"https:\/\/hostandtech.com\/kb\/email\/migrate-email-to-new-host\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostandtech.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How to Migrate Email to a New Host Without Losing Mail (cPanel and imapsync)"}]},{"@type":"WebSite","@id":"https:\/\/hostandtech.com\/kb\/#website","url":"https:\/\/hostandtech.com\/kb\/","name":"Host And Tech knowledge base","description":"","publisher":{"@id":"https:\/\/hostandtech.com\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostandtech.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostandtech.com\/kb\/#organization","name":"Host And Tech knowledge base","url":"https:\/\/hostandtech.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/05\/logo-dark.png","contentUrl":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/05\/logo-dark.png","width":1134,"height":395,"caption":"Host And Tech knowledge base"},"image":{"@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/stshostandtech","https:\/\/x.com\/stshostandtech"]},{"@type":"Person","@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/person\/b6fa79c48ddaba71af32e395c5b017ee","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/hostandtech.com\/kb"],"url":"https:\/\/hostandtech.com\/kb\/author\/admin_fjj7qydm\/"}]}},"_links":{"self":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/posts\/357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/comments?post=357"}],"version-history":[{"count":1,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/posts\/357\/revisions"}],"predecessor-version":[{"id":362,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/posts\/357\/revisions\/362"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/media\/350"}],"wp:attachment":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/media?parent=357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/categories?post=357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/tags?post=357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}