On March 21, 2018 11:58:21 PM EDT, "@lbutlr" <kremels@kreme.com> wrote:
On 2018-03-21 (17:15 MDT), Dmitry Filonov <filonovd@enders.tch.harvard.edu> wrote:
Now the question is if there's any way to tell dovecot to rebuild dovecot-uidlist files using actual Maildir data. I don't want to remove dovecot-uidlist files as this triggers the whole mailbox being re-downloaded by the imap client. With some accounts having over 100Gb of mail this is too much of a hassle. I just need dovecot itself to fix it's data.
doveadm index -A '*'
if that doesn't work then perhaps
doveadm force-resync -A '*'
of course you can use -u <user> for a specific user instead of -A for all users.