Yes.

mail_location =
maildir:/var/vmail/%Ld/%Ln/Maildir:INBOX=/var/vmail/%Ld/%Ln/Maildir/.INBOX:INDEX=/var-fast/dovecot/indexes/vmail/%Ld/%Ln

As Sami Ketola wrote earlier:

rm -f /var-fast/dovecot/indexes/vmail/domain.ru/user/.INBOX/*

doveadm index -u u...@domain.ru INBOX

doveadm force-resync-u u...@domain.ru INBOX

ls /var-fast/dovecot/indexes/vmail/domain.ru/user/.INBOX/*

/var-fast/dovecot/indexes/vmail/domain.ru/user/.INBOX/dovecot.index
/var-fast/dovecot/indexes/vmail/domain.ru/user/.INBOX/dovecot.index.cache
/var-fast/dovecot/indexes/vmail/domain.ru/user/.INBOX/dovecot.index.log


04.12.2019 18:15, Tomek Lutelmowski via dovecot wrote:
> 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? 
>
> śr., 4 gru 2019 o 15:45 Sami Ketola <sami.ket...@dovecot.fi
> <mailto:sami.ket...@dovecot.fi>> napisał(a):
>
>
>
>     > On 4 Dec 2019, at 11.48, Tomek Lutelmowski via dovecot
>     <dovecot@dovecot.org <mailto:dovecot@dovecot.org>> wrote:
>     >
>     > mail_location = maildir:~
>     >
>
>     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.
>
>     Maybe you should store the mailbox contents into Maildir:~/Maildir
>     under the users home and index to ~/index/
>
>     Sami
>
>

Reply via email to