Can you clarify the piece of code or give an example on how to "Get
list of UIDs for all mails in each folder " and how to get the "list of
all folder/mailbox" from a *backend input ?
On 2019-02-17 14:52, Aki Tuomi wrote:
Not really, as the steps outlined by Timo would not get done.
Aki
On
Not really, as the steps outlined by Timo would not get done.
Aki
> On 17 February 2019 at 10:56 Joan Moreau via dovecot
> wrote:
>
>
> In such case, as long as the API is not upgraded, should
>
> doveadm index -A -q \*
>
> be considered a replacement of
>
> doveadm fts rescan
>
> On 2
In such case, as long as the API is not upgraded, should
doveadm index -A -q \*
be considered a replacement of
doveadm fts rescan
On 2019-02-14 16:24, Timo Sirainen via dovecot wrote:
Hi,
The rescan() function is a bit badly designed. Currently what you could do what fts-lucene does and:
Hi,
The rescan() function is a bit badly designed. Currently what you could do what
fts-lucene does and:
- Get list of UIDs for all mails in each folder
- If Xapian has UID that doesn't exist -> delete it from Xapian
- If UID is missing from Xapian -> expunge the rest of the UIDs in that
fold