On 11/14/2012 6:52 AM, Dave Abrahams wrote:
Does anyone have an answer to this question?  Should I simply issue an
IMAP search command, or is there a better way?


Put this in a cron script:

doveadm search -A text zyxabcxyz > /dev/null

That will perform a search through every mailbox on the system, indexing as it goes. The search query is unlikely to return much in the way of results, so log files won't fill up much.
--
Daniel

Reply via email to