This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.

Migration from Gmail to Dovecot

You can use dsync migration via IMAP protocol, but there are a few things different with Gmail compared to other IMAP servers:

GMail Migration Feature (v2.2.16+)

There's a new imapc_features=gmail-migration setting that helps with this migration. It will:

For example use a command line:


doveadm backup -a 'virtual/All' -F '-$GmailHaveLabels' -R -u user@domain imapc:

Unfortunately -F parameter isn't working in v2.2.17 & v2.2.18 because of another parameter collision caused -F to be accidentally used for another purpose. For v2.2.19+ use:

doveadm backup -a 'virtual/All' -O '-$GmailHaveLabels' -R -u user@domain imapc:

Migration/Gmail (last edited 2016-01-28 22:59:57 by TimoSirainen)