On 2010-12-20, Joachim Schipper <joac...@joachimschipper.nl> wrote: > Similarly, IMAP has a SEARCH extension. Most IMAP servers will keep > indices for you, but getting the mail client to issue the proper > commands (instead of searching locally) may take some doc-reading.
In Mutt, use = instead of ~ to search server-side. e.g. l =b sometext If you use Dovecot or Cyrus and are searching message bodies regularly, you might want to enable full-text indexing, it speeds up searches hugely (of course at the expense of slow <though often offline> indexing operations and some extra disk space).