15 Sep
2023
15 Sep
'23
7:59 p.m.
I have dovecot using Solr for FTS. Dovecot version is 2:2.3.20-3+ubuntu20.04 pulled from the official APT repo.
This is my reindex script:
https://paste.elyograg.org/view/74accd23
The reindex script kicks off the indexing process in the background.
Dovecot logs to syslog, and those logs ultimately end up in mail.log.
I have not seen any logging for the FTS reindexing. Specifically I would like to see how long the process took. Getting that info from the solr logs is a manual process and I can't think of a way to properly automate it.
Is this something I can easily have dovecot log? Or is there a way to have 'doveadm index' run in the foreground instead of the background so the time can be calculated by my script?
Thanks, Shawn