Dovecot 2.3.8 - How to force index creation for user/mailbox?
Tomek Lutelmowski
tomasz.lutelmowski at gmail.com
Thu Dec 5 22:07:55 EET 2019
Gents, thank you all - moving indexes to external folder worked like a
charm! :-)
czw., 5 gru 2019 o 14:55 Dmitry Donskih via dovecot <dovecot at dovecot.org>
napisał(a):
> 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> napisał(a):
>
>>
>>
>> > On 4 Dec 2019, at 11.48, Tomek Lutelmowski via dovecot <
>> 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/29569377/attachment.html>
More information about the dovecot
mailing list