16 Nov
2012
16 Nov
'12
10:58 p.m.
on Thu Nov 15 2012, "Daniel L. Miller" <dmiller-AT-amfes.com> wrote:
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.
That actually doesn't work for me. "doveadm index ..." does, though.
-- Dave Abrahams BoostPro Computing Software Development Training http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost