The Dummit

  • Tutorial
  • Tips & Tricks
  • About Me
  • Reference

IMAPSync: How to use for migrating email data

Posted on 30 April 2019 in Tutorial

 loading



IMAPSync is a great tool for migrating email data via IMAP. There so many ways to migrate from/to this platform with , however i still chose using it because this tools directly transfer all mail data from/to new mail server. You can read the wiki for more detail explanation.


Okay first, all you need to know (and all i known :D) this app only run under Linux System.


Step 1 – Install Imapsync


Install epel repo on your system if it wasn’t installed, by running this command


sudo yum install epel-release

after epel repo successfully installed on your server, next step is to install imapsync using this command


sudo yum install imapsync

After imapsync successfully installed on you system, now you can start the migration process you need using this tool.


Step 2 – Migration


Note : If you migrating from Google Account whether from business or free platform, just don’t forget to enable “Less secure app access” before the migration process start.

Note : If migrating your mail data to zimbra FOSS , make sure to use non-SSL IMAP Port incase you don’t have valid certificate.

Follow the command syntax below.


imapsync --host1 imap.source.example.com --user1 [email protected] --password1 <S0urcePassw0rd> --ssl1 --host2 imap.dest.example.com --user2 [email protected] --password2 Dest1nat10NPassw0rd --ssl2 --syncinternaldates --noauthmd5 --port1 <port number> --port2 <port number> --exclude "All Mail|Spam|Trash" --allowsizemismatch

and wait until it finish and show something like this



Done, all you inbox email data is completely copied to new platform.

 loading

Active Directory: Request, install or renew certificate on IIS 7

 loading

Basis: How to delete print spool manually using SP01

Recent Post

  • openldap
    How to compile, install and configure openLDAP in Centos 8
    5 September 2020
  • zimbra desktop
    Zimbra Desktop : How to recover your local folder after crash (Win 10)
    2 September 2020
  • doh
    Mikrotik : How to use DoH with Cloudflare
    7 July 2020
  •  loading
    How to install Openfire and configure server to server on Centos 7
    12 August 2019
  •  loading
    MySQL 5.7 : How to configure Replication (Master/Slave) Database on Centos 7
    25 June 2019