On 20.11.2018 2.51, Daniel Miller wrote:> I'm trying to have my server maintain it's FTS indexes reasonably
> current at all times.? From prior threads, and based on my namespace
> configuration, I have the following hourly cronjob:
>
> doveadm index -A -q '*'
> doveadm index -A -q 'shared/*'
> doveadm index -A -q 'virtual/*'
>
> This seems to work just fine to maintain the FTS (Solr).? However - as
> I understand it Dovecot's virtual folders are not updated with new
> mails until they are accessed by a client.? Therefore the above
> command sequence would work fine for my default namespace and the
> shared - but the virtual namespace won't actually be current.? So...
>
> Would a command such as:
>
> doveadm mailbox status -A messages virtual/*
>
> Be appropriate to run prior to the virtual/* FTS indexing?
>
doveadm index should perform the same update.
Aki