on Mon Nov 19 2012, "Daniel L. Miller" <dmiller-AT-amfes.com> wrote:
On 11/18/2012 6:57 AM, Dave Abrahams wrote:
I take it back; I'm not sure if "doveadm search" causes re-indexing. However, I *know* issuing a search command from a Python IMAP library doesn't do so.
That indicates something else is broken - unless my Dovecot understanding is totally off (which is always possible, even likely). To my knowledge, until the relatively recent support for the "doveadm index" command, the primary and indeed only way to index was to perform a search. When Dovecot receives a search request, whether passed by IMAP or through the doveadm backdoor, if the mailbox isn't current then any new mails are supposed to be added to the index in the course of the search. If that doesn't happen - then I think something is broken in your setup.
Well, perhaps I didn't satisfy the "mailbox isn't current" criterion. All I had done was to delete the FTS indices when I tried this.
-- Dave Abrahams BoostPro Computing Software Development Training http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost