CentOS 7.x Migrate emails from Google GSuite to Zimbra

From Notes_Wiki
Revision as of 10:00, 14 August 2017 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>CentOS_7.x_Zimbra_configuration|CentOS 7.x Zimbra configuration</yambe:breadcrumb> =CentOS 7.x Migrate emails from Google GSuite to Zimbra= ==Migrate indivi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>CentOS_7.x_Zimbra_configuration|CentOS 7.x Zimbra configuration</yambe:breadcrumb>

CentOS 7.x Migrate emails from Google GSuite to Zimbra

Migrate individual email accounts

Prepare Zimbra Server for email migrataion

  1. Login to your Administraton interface (By default port 7071, username admin) and go to Configuration -> Global Settings -> IMAP and enable "Enable clear text login."
  2. Change maximum size of upload file at Configuration -> Global Settings -> General Information with option "Maximum size of an uploaded file for Briefcase, Email messages, Calendar appointments and Tasks" to 25600 KB. This is required as Gmail might have emails of size 25MB which is not allowed by Zimbra by-default.


Prepare G Suite for email migration

  1. In G Suite admin dashboard, Enable/Enforce access to less secure apps for all users by Admin console -> Security -> Basic settings. Select "Enforce access to less secure apps for all users"


Install ImapSync on CentOS 7

  1. Install EPEL repository
    yum install -y epel-release
  2. Install ImapSync
    yum install -y imapsync
  3. ImapSync test run to check whether passwords, hostnames, imapsync, network, etc. are working properly or not
    imapsync --host1 imap.gmail.com --user1 user@gmail.com --password1 Gmail-Password --host2 zimbra.domain.com --user2 user@zimbradomain.com --password2 Zimbra-Password --syncinternaldates --ssl1 -ssl2 --noauthmd5 --split1 100 --split2 100 --exclude All Mail --useheader 'Message-Id' --dry --justfolders
  4. If test is successful then actually sync mailboxes using
    imapsync --host1 imap.gmail.com --user1 user@gmail.com --password1 Gmail-Password --host2 zimnra.domain.com --user2 user@zimbradomain.com --password2 Zimbra-Password --syncinternaldates --ssl1 -ssl2 --noauthmd5 --split1 100 --split2 100 --exclude All Mail --useheader 'Message-Id'


Contact export

  1. To export Contacts use Gmail export as Outlook CSV option and then import into outlook or other desktop email application. You can also import contacts to Zimbra using https://www.zimbra.com/desktop7/help/en_US/Contacts/Importing_Contacts.htm


<yambe:breadcrumb>CentOS_7.x_Zimbra_configuration|CentOS 7.x Zimbra configuration</yambe:breadcrumb>