Greg Earle writes:
Also, why is each "imapd" reading every single message in the INBOX folder
before finally returning the
* SEARCH 26995 26996 26997 26998 4 OK SEARCH done.
result?
Because, most likely, 26995 is the lowest UID in the mailbox, and all
messages carry higher UIDs.
Are there any applicable knobs in ${COURIER}/etc to twiddle?
No. Courier basically translates IMAP commands into filesystem calls. If the
clients asks the server to search all messages for something, the only way
to do so is to open each message, and search it.