> [...] The first time you search the bodies of emails in a large imap
> folder it'll take an extremely long time as mutt downloads the bodies
> (including attachments) of all messages in the folder. The next times
> it will be much faster. [...]

Depends on your IMAP server; some can handle search *server-side*,
which gets rid of the need to “mirror” the message bodies locally.

Unfortunately, IMAP search only works with substrings, hence won't
handle regular expressions; nonetheless, search with “=b” instead
of “~b” and mutt will automagically switch to server-side search if
possible.


As for your original question, I believe a simpler way to help with IMAP
search speed would involve offlineimap (or similar) that'd mirror your
server locally.  Mutt would still need to cache the message bodies but
at least they'd already be stored on your machine, avoiding the server
round-trips involved in a search on a “yet unsearched” folder.



-- 
 --====|====--
    --------================|================--------
        Patrice Levesque
         http://ptaff.ca/
        mutt.wa...@ptaff.ca
    --------================|================--------
 --====|====--
--

Attachment: signature.asc
Description: Digital signature

Reply via email to