I just needed to migrate all mails from a Google mail account to a Dovecot IMAP server. I did this with a tool called “Imapsync“. I just wanted to synchronize all mails from the Google sent mail folder to the
Dovecot: Rebuild full text index
For me to remember: Re-index the fulltext index of a Dovecot user: