Dovecot 2.3.8 - How to force index creation for user/mailbox?
Dmitry Donskih
dmitry.donskih at gmail.com
Thu Dec 5 15:53:33 EET 2019
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 user at domain.ru INBOX
doveadm force-resync-u user at 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.ketola at dovecot.fi
> <mailto:sami.ketola at dovecot.fi>> napisał(a):
>
>
>
> > On 4 Dec 2019, at 11.48, Tomek Lutelmowski via dovecot
> <dovecot at dovecot.org <mailto:dovecot at 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20191205/3172398d/attachment.html>
More information about the dovecot
mailing list