UPDATE: The imapsync project accepted a pull request I made to support Google’s .json files. This will make things a little bit simpler. The next release isn’t in the public git repo yet, but you can test it via the repo I used to make the pull request from. I will update this tutorial using the .json files once it’s in the public repo.
Back to your regularly scheduled programming…
To use imapsync to migrate a Google Apps domain (without requiring passwords for every account), you’ll need to setup OAUTH2 access.
OAUTH2 access to Gmail requires two main steps:
1.) Creating a service account (with a service account key) for the Google API in Google’s Cloud Console
2.) Giving that service account access to your Google Apps domain
And once those steps are completed, you just need the service account name and key to access any account on your domain via imapsync.
To access Zimbra’s LDAP with external tools (ldapsearch, shelldap, apache directory studio, etc.), you need a login. If you have an older Zimbra (5.x.x or earlier), or your install began at one of these older versions, you may have anonymous read access enabled. Though disabling this would be recommended, if your Zimbra install is configured this way, you can view the bulk of the contents of your main LDAP directory without even authenticating.
Here are a few ways to access Zimbra Ldap.
Continue reading →