Syncing Gmail "Archive" (All Mail)

Looking to migrate to ZCS? Ask here. Got a great tip or script that helped you migrate? Post it here.
Post Reply
kribor1
Posts: 10
Joined: Fri Jul 15, 2016 12:34 am

Syncing Gmail "Archive" (All Mail)

Post by kribor1 »

Hi there,

Background
In an upcoming effort to migrate some users from gmail - > zimbra I wanted to show how easy it is to get all your existing email via "External Account" and IMAP. First there were some issues with login, possibly very recently (since I didn't find any docs on it) gmail now requires 2-factor auth on gmail + a generated "app password" to allow signing in via IMAP. Great security feature, just badly documented and no proper error messages.

Now to the bigger problem which I hope is solvable. Anything in inbox, sent etc. and anything with a label is synced but other things that are "Archived" in "All Mail" folder in gmail are not synced and I'm wondering why and how to solve it? I know that the All Mail folder is shown in IMAP because A) It's enabled in gmail and B) I can see the folder when connecting to IMAP from Thunderbird.

Please help me out so I can convince more users to migrate :)
User avatar
fs.schmidt
Outstanding Member
Outstanding Member
Posts: 278
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Re: Syncing Gmail "Archive" (All Mail)

Post by fs.schmidt »

Hello,

I have migrated some domains from Google to Zimbra last month.

I used Imapsync with XOAUTH2 and it worked as a charm!

https://imapsync.lamiral.info/FAQ.d/FAQ.Gmail.txt
Best regards.
Fabio S. Schmidt
http://www.bktech.com.br
Brasília - Brazil
Post Reply