Public Repository

Last pushed: 3 years ago
Short Description
Imapsync - XOAUTH2
Full Description

Docker imapsync

From imapsync project.
This image consists in correcting the oauth2 method authentication, it's uses a fork correcting the xoauth2 implementation


For authenticating using xoauth2 follow the steps bellow:

  • Create a Google Service account in google console
  • Create a new project
  • Add a new service account in credentials section (p12 type)
  • Access
  • In Security -> Advanced -> Manage Access To Client API. Grant permissions to the following app scope:

In the client ID field, use the client ID received from the developer console

After that it's possible to execute a new imapsync container for starting the migration, you need to pass a volume to give access to the cert received after the creation of the Google Service Account.

The command bellow could be used as example:

docker run --rm -it -v /path/to/cert.p12:/cert.p12 inova/imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --authuser1 --authmech1 PLAIN --authuser1 admin-imap@origin.domain.tld --host1 host1-address --user1 account@origin.domain.tld --password1 origin-pass
Docker Pull Command