{"id":453,"date":"2019-02-27T11:40:02","date_gmt":"2019-02-27T10:40:02","guid":{"rendered":"https:\/\/mindau.de\/blog\/?p=453"},"modified":"2020-11-04T18:54:20","modified_gmt":"2020-11-04T17:54:20","slug":"super-fast-and-easy-email-synchronization-with-imapsync-and-docker","status":"publish","type":"post","link":"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/","title":{"rendered":"Super fast and easy email synchronization with imapsync and docker"},"content":{"rendered":"\n<p>If you need to migrate or transfer an email server to other provider, then you also need to export \/ import all your emails and folders. In that case you can struggle with many problems. For example:<\/p>\n\n\n\n<ul><li> Different Email Clients with different export format<\/li><li>No export or import function <\/li><li>Costly import \/ export tools<\/li><\/ul>\n\n\n\n<p>With imapsync you can easily do it without big effort. You will need only <strong>Docker <\/strong>installed. On the Docker <a href=\"https:\/\/docs.docker.com\/install\/\">documentation page<\/a> you can find installation guide for linux \/ mac and windows.<br><\/p>\n\n\n\n<p>So, if you have already docker, then just run this command and all emails will be exported from <em>host1 <\/em>to <em>host2<\/em>. Keep in mind that <em>host1 <\/em>and <em>host2 <\/em>are IMAP server addresses<\/p>\n\n\n\n<p class=\"wp-block-code\"><code>docker run gilleslamiral\/imapsync imapsync \\\n--host1 imap.server.com   --user1 import_emails@FROM.com --password1 'pass' \\\n--host2 imap.server.com   --user2 import_emails@TO.com   --password2 'pass' \\\n--automap \"$@\"<\/code><\/p>\n\n\n\n<p>Useful imapsync commands before synchronization:<\/p>\n\n\n\n<p class=\"wp-block-code\"><code> --dry              : Makes imapsync doing nothing for real, just print what \n                           would be done without --dry.\n<br \/>--justconnect       : Just connect to both servers and print useful\n                           information. Need only --host1 and --host2 options.\n<br \/>--justlogin         : Just login to both host1 and host2 with users\n                           credentials, then exit.\n<br \/>--justfolders       : Do only things about folders (ignore messages).<\/code><\/p>\n\n\n\n<p>For more advanced usage please visit official syncmap github page at <a href=\"https:\/\/github.com\/imapsync\/imapsync\">https:\/\/github.com\/imapsync\/imapsync<\/a><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you need to migrate or transfer an email server to other provider, then you also need to export \/ import all your emails and folders. In that case you can struggle with many problems. For example: Different Email Clients with different export format No export or import function Costly import \/ export tools With &hellip; <a href=\"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Super fast and easy email synchronization with imapsync and docker<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":457,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[5,14,1],"tags":[39,40,41],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Super fast and easy email synchronization with imapsync and docker - Mindau | Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Super fast and easy email synchronization with imapsync and docker - Mindau | Blog\" \/>\n<meta property=\"og:description\" content=\"If you need to migrate or transfer an email server to other provider, then you also need to export \/ import all your emails and folders. In that case you can struggle with many problems. For example: Different Email Clients with different export format No export or import function Costly import \/ export tools With &hellip; Continue reading Super fast and easy email synchronization with imapsync and docker\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/\" \/>\n<meta property=\"og:site_name\" content=\"Mindau | Blog\" \/>\n<meta property=\"article:published_time\" content=\"2019-02-27T10:40:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-11-04T17:54:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mindau.de\/blog\/wp-content\/uploads\/2019\/02\/email-3249062_640.png\" \/>\n\t<meta property=\"og:image:width\" content=\"640\" \/>\n\t<meta property=\"og:image:height\" content=\"358\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Mindau\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@MindaugasMilius\" \/>\n<meta name=\"twitter:site\" content=\"@MindaugasMilius\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mindau\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/\"},\"author\":{\"name\":\"Mindau\",\"@id\":\"https:\/\/mindau.de\/blog\/#\/schema\/person\/b59ad18a46b5a55b9319b41779682998\"},\"headline\":\"Super fast and easy email synchronization with imapsync and docker\",\"datePublished\":\"2019-02-27T10:40:02+00:00\",\"dateModified\":\"2020-11-04T17:54:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/\"},\"wordCount\":146,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/mindau.de\/blog\/#\/schema\/person\/b59ad18a46b5a55b9319b41779682998\"},\"keywords\":[\"docker\",\"email\",\"imapsync\"],\"articleSection\":[\"English\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/\",\"url\":\"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/\",\"name\":\"Super fast and easy email synchronization with imapsync and docker - Mindau | Blog\",\"isPartOf\":{\"@id\":\"https:\/\/mindau.de\/blog\/#website\"},\"datePublished\":\"2019-02-27T10:40:02+00:00\",\"dateModified\":\"2020-11-04T17:54:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/mindau.de\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Super fast and easy email synchronization with imapsync and docker\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mindau.de\/blog\/#website\",\"url\":\"https:\/\/mindau.de\/blog\/\",\"name\":\"Mindau | Blog\",\"description\":\"Mindaugas Milius\",\"publisher\":{\"@id\":\"https:\/\/mindau.de\/blog\/#\/schema\/person\/b59ad18a46b5a55b9319b41779682998\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mindau.de\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/mindau.de\/blog\/#\/schema\/person\/b59ad18a46b5a55b9319b41779682998\",\"name\":\"Mindau\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/mindau.de\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/mindau.de\/blog\/wp-content\/uploads\/2022\/02\/1639431846236.jpeg\",\"contentUrl\":\"https:\/\/mindau.de\/blog\/wp-content\/uploads\/2022\/02\/1639431846236.jpeg\",\"width\":250,\"height\":250,\"caption\":\"Mindau\"},\"logo\":{\"@id\":\"https:\/\/mindau.de\/blog\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/mindau.de\",\"https:\/\/www.linkedin.com\/in\/mindaugasmilius\/\",\"https:\/\/twitter.com\/MindaugasMilius\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Super fast and easy email synchronization with imapsync and docker - Mindau | Blog","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:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/","og_locale":"en_US","og_type":"article","og_title":"Super fast and easy email synchronization with imapsync and docker - Mindau | Blog","og_description":"If you need to migrate or transfer an email server to other provider, then you also need to export \/ import all your emails and folders. In that case you can struggle with many problems. For example: Different Email Clients with different export format No export or import function Costly import \/ export tools With &hellip; Continue reading Super fast and easy email synchronization with imapsync and docker","og_url":"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/","og_site_name":"Mindau | Blog","article_published_time":"2019-02-27T10:40:02+00:00","article_modified_time":"2020-11-04T17:54:20+00:00","og_image":[{"width":640,"height":358,"url":"https:\/\/mindau.de\/blog\/wp-content\/uploads\/2019\/02\/email-3249062_640.png","type":"image\/png"}],"author":"Mindau","twitter_card":"summary_large_image","twitter_creator":"@MindaugasMilius","twitter_site":"@MindaugasMilius","twitter_misc":{"Written by":"Mindau","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/#article","isPartOf":{"@id":"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/"},"author":{"name":"Mindau","@id":"https:\/\/mindau.de\/blog\/#\/schema\/person\/b59ad18a46b5a55b9319b41779682998"},"headline":"Super fast and easy email synchronization with imapsync and docker","datePublished":"2019-02-27T10:40:02+00:00","dateModified":"2020-11-04T17:54:20+00:00","mainEntityOfPage":{"@id":"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/"},"wordCount":146,"commentCount":1,"publisher":{"@id":"https:\/\/mindau.de\/blog\/#\/schema\/person\/b59ad18a46b5a55b9319b41779682998"},"keywords":["docker","email","imapsync"],"articleSection":["English","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/","url":"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/","name":"Super fast and easy email synchronization with imapsync and docker - Mindau | Blog","isPartOf":{"@id":"https:\/\/mindau.de\/blog\/#website"},"datePublished":"2019-02-27T10:40:02+00:00","dateModified":"2020-11-04T17:54:20+00:00","breadcrumb":{"@id":"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/mindau.de\/blog\/en\/super-fast-and-easy-email-synchronization-with-imapsync-and-docker\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mindau.de\/blog\/"},{"@type":"ListItem","position":2,"name":"Super fast and easy email synchronization with imapsync and docker"}]},{"@type":"WebSite","@id":"https:\/\/mindau.de\/blog\/#website","url":"https:\/\/mindau.de\/blog\/","name":"Mindau | Blog","description":"Mindaugas Milius","publisher":{"@id":"https:\/\/mindau.de\/blog\/#\/schema\/person\/b59ad18a46b5a55b9319b41779682998"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mindau.de\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/mindau.de\/blog\/#\/schema\/person\/b59ad18a46b5a55b9319b41779682998","name":"Mindau","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mindau.de\/blog\/#\/schema\/person\/image\/","url":"https:\/\/mindau.de\/blog\/wp-content\/uploads\/2022\/02\/1639431846236.jpeg","contentUrl":"https:\/\/mindau.de\/blog\/wp-content\/uploads\/2022\/02\/1639431846236.jpeg","width":250,"height":250,"caption":"Mindau"},"logo":{"@id":"https:\/\/mindau.de\/blog\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/mindau.de","https:\/\/www.linkedin.com\/in\/mindaugasmilius\/","https:\/\/twitter.com\/MindaugasMilius"]}]}},"jetpack_featured_media_url":"https:\/\/mindau.de\/blog\/wp-content\/uploads\/2019\/02\/email-3249062_640.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pcptsa-7j","jetpack-related-posts":[{"id":288,"url":"https:\/\/mindau.de\/blog\/en\/auto-webserver-and-database-backup-with-gpg-encryption-to-amazon-s3\/","url_meta":{"origin":453,"position":0},"title":"Auto webserver and database backup with GPG encryption to Amazon S3","date":"December 15, 2017","format":false,"excerpt":"In this tutorial I will show you step-by-step\u00a0 instructions how to make cheap and secure encrypted backups of you webserver (or any other dir)\u00a0 files on you linux\u00a0 server using Amazon Storage Service Create Bucket and User at Amazon AWS Some links that we will need Amazon Console link -\u2026","rel":"","context":"In &quot;English&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":335,"url":"https:\/\/mindau.de\/blog\/en\/introducing-to-new-discord-bot-team-manager\/","url_meta":{"origin":453,"position":1},"title":"Introducing to new Discord Bot &#8211; Team Manager","date":"February 1, 2019","format":false,"excerpt":"Discord is one of the most popular communication platform between gamers and developers. If you want to know about Discord more, you can read a wonderful article \"What is discord\" by Phil Hornshaw , but I would like here \u00a0to introduce with my new project - Discord Team Manager. Why?\u2026","rel":"","context":"In &quot;English&quot;","img":{"alt_text":"Discord team manager","src":"https:\/\/i0.wp.com\/mindau.de\/blog\/wp-content\/uploads\/2019\/02\/teammanager.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":111,"url":"https:\/\/mindau.de\/blog\/en\/how-to-tutorials\/secure-nginx-configuration\/","url_meta":{"origin":453,"position":2},"title":"Secure Nginx configuration","date":"May 3, 2017","format":false,"excerpt":"After some research and digging, I made my nginx and domain configuration files. If I have something missed, you are welcome to write it in comment here or at Github. Mostly everything are commented so to understand code should be not problem. https:\/\/gist.github.com\/grambas\/a978ae5cdea456a5f8a55796a6cd6e7f#file-nginx-conf UPDATE: If you want more advanced solution,\u2026","rel":"","context":"In &quot;Linux&quot;","img":{"alt_text":"nginx secure configuration","src":"https:\/\/i0.wp.com\/mindau.de\/blog\/wp-content\/uploads\/2017\/05\/nginx-secure-configuration.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":145,"url":"https:\/\/mindau.de\/blog\/lt\/saugumo-gidas-kuri-turetu-zinoti-visi-interneto-naudotojai\/","url_meta":{"origin":453,"position":3},"title":"Saugumo gidas kur\u012f tur\u0117t\u0173 \u017einoti visi interneto naudotojai","date":"May 19, 2017","format":false,"excerpt":"Profesionaliame pasaulyje verda daug diskusij\u0173 apie programin\u0117s \u012frangos saugum\u0105 ir jos spragas. Visi skub\u0105 kaltinti vien\u0105 ar kit\u0105 operacin\u0119 sistem\u0105 ir r\u0117kauti kaip viskas nesaugu, ta\u010diau da\u017eniausiai hakeri\u0173 aukomis tampama per \u017emogi\u0161k\u0105j\u012f faktori\u0173. \u0160iuo straipsniu bandysiu apr\u0117pti elementariausius b\u016bdus ir elgsen\u0105 su kompiuteriu, kuriuos tur\u0117t\u0173 \u017einoti kiekvienas besinaudojantis internetu. Susira\u0161in\u0117jimo\u2026","rel":"","context":"In &quot;Lietuvi\u0173 k.&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mindau.de\/blog\/wp-content\/uploads\/2017\/05\/hacker-1952027_640.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/mindau.de\/blog\/wp-json\/wp\/v2\/posts\/453"}],"collection":[{"href":"https:\/\/mindau.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mindau.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mindau.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mindau.de\/blog\/wp-json\/wp\/v2\/comments?post=453"}],"version-history":[{"count":8,"href":"https:\/\/mindau.de\/blog\/wp-json\/wp\/v2\/posts\/453\/revisions"}],"predecessor-version":[{"id":500,"href":"https:\/\/mindau.de\/blog\/wp-json\/wp\/v2\/posts\/453\/revisions\/500"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mindau.de\/blog\/wp-json\/wp\/v2\/media\/457"}],"wp:attachment":[{"href":"https:\/\/mindau.de\/blog\/wp-json\/wp\/v2\/media?parent=453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mindau.de\/blog\/wp-json\/wp\/v2\/categories?post=453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mindau.de\/blog\/wp-json\/wp\/v2\/tags?post=453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}