<div dir="ltr"><div>Hello,</div><div><br></div>I'm using maildirs, and I have problems with big mailboxes (~ 20000 emails, 30-50GB) - sometimes access to such mailbox takes very long (~10 minutes), I would like to be able to create index for mailbox in background, but I couldn't find any way to do it. So far I tried:<div><br></div><div><b>doveadm -D -vvv index -u user 'Folder'  <br></b></div><div><br></div><div>But even if this folder have no dovecot.index* files - I always get:</div><div><br></div><div>doveadm(user): Info: Wersje robocze: Cache is already up to date<br></div><div><br></div><div>It seems that doveadm doesn't actually checks if the index is present. The index is created only when I log with IMAP client and check the folder. </div><div><br></div><div>So i tried:</div><div><b>doveadm mailbox cache purge -u user 'Folder' <br></b></div><div><br></div><div>No joy either:</div><div>doveadm(user): Error: Cache is unusable<br></div><div><br></div><div>And command below doesn't actually do anything to index: </div><div><b>doveadm  -vvv force-resync -u user 'Folder'<br></b></div><div><br></div><div>Is there any way to use doveadm tool to create/fix index? Shouldn't the index be updated on each email arrival? </div><div><br>Cheers,</div><div>TomekL</div></div>