#3956: mutt 1.8.3 hangs on accessing Exchange via IMAP, when Outlook is used
simultaneously
---------------------+---------------------
Reporter: davee | Owner: brendan
Type: defect | Status: new
Priority: minor | Milestone:
Component: IMAP | Version: 1.8.3
Resolution: | Keywords:
---------------------+---------------------
Comment (by kevin8t8):
Hi Dave,
I hope the patches solve your problem. Please keep me posted.
Mutt caches only a subset of the headers in memory, so that searches
against ~f, ~t, ~c and the like are fast.
But ~h says to match against all headers; to do that, mutt has to reread
the email headers. Over the network this will already be slower, but
compounding the problem is that mutt re-fetches the *entire* email not
just the headers (yes, this is subobtimal). This can mean messages are
pulled down over IMAP even just scrolling the cursor. At work, with a
fast network connection and fast server, you may not notice it as much,
but it for sure is reducing performance.
I think "bad idea" was the wrong way to describe it - it's not that the
idea is bad. Rather, in mutt's IMAP implementation, ~h coloring can
result in poor performance.
While testing the fixes, please keep the ~h, because that was what was
causing the hanging bug. But later, you may want to re-investigate if you
really need the ~h. Alternatively, you may want to try out
$message_cachedir if you don't mind caching the messages locally.
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3956#comment:11>
Mutt <http://www.mutt.org/>
The Mutt mail user agent