<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Yes. <br>
</p>
<p>mail_location =
maildir:/var/vmail/%Ld/%Ln/Maildir:INBOX=/var/vmail/%Ld/%Ln/Maildir/.INBOX:INDEX=/var-fast/dovecot/indexes/vmail/%Ld/%Ln</p>
<p>As Sami Ketola wrote earlier:</p>
<p>rm -f /var-fast/dovecot/indexes/vmail/domain.ru/user/.INBOX/*</p>
<p><font class="" color="#5856d6">doveadm index -u <a class="moz-txt-link-abbreviated" href="mailto:user@domain.ru">user@domain.ru</a>
INBOX<br>
</font></p>
<p><font class="" color="#5856d6"><font class="" color="#5856d6">doveadm
force-resync</font></font><font class="" color="#5856d6"><font
class="" color="#5856d6"><font class="" color="#5856d6"> -u
<a class="moz-txt-link-abbreviated" href="mailto:user@domain.ru">user@domain.ru</a> INBOX</font> </font></font></p>
<div class="moz-cite-prefix">ls
/var-fast/dovecot/indexes/vmail/domain.ru/user/.INBOX/*</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">/var-fast/dovecot/indexes/vmail/domain.ru/user/.INBOX/dovecot.index<br>
/var-fast/dovecot/indexes/vmail/domain.ru/user/.INBOX/dovecot.index.cache<br>
/var-fast/dovecot/indexes/vmail/domain.ru/user/.INBOX/dovecot.index.log</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">04.12.2019 18:15, Tomek Lutelmowski via
dovecot wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANfWn6XZgH8NOTF_4ZNaD44WvAOp6g63SjkNf4mRgx-rAeWPZA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Someone who have mailbox in different directory
than indexes, can confirm if doveadm can recreate index (after
deleting dovecot.index* files) or these files can be created
only by connecting with IMAP client? </div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">śr., 4 gru 2019 o 15:45 Sami
Ketola <<a href="mailto:sami.ketola@dovecot.fi"
moz-do-not-send="true">sami.ketola@dovecot.fi</a>>
napisał(a):<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> On 4 Dec 2019, at 11.48, Tomek Lutelmowski via dovecot
<<a href="mailto:dovecot@dovecot.org" target="_blank"
moz-do-not-send="true">dovecot@dovecot.org</a>> wrote:<br>
> <br>
> mail_location = maildir:~<br>
> <br>
<br>
can't spot anything obvious wrong. Just spotted that you are
storing mails in users home root along with all other files
such as index files.<br>
<br>
Maybe you should store the mailbox contents into
Maildir:~/Maildir under the users home and index to ~/index/<br>
<br>
Sami<br>
<br>
<br>
</blockquote>
</div>
</blockquote>
</body>
</html>