Re: imap performance.
Hi,
On Tue, Feb 21, 2006 at 05:05:25PM +1300, Guy Thornley wrote:
> So, mutt insists on downloading the *ENTIRE* body for all the messages which
> are displayed in the mailbox index screen.
>
> Now here is the problem -- this is on IMAP, at my ISP, over a slow-ish
> connection, to a slow mail server, with several >1MB attachments. Incase
> you hadn't guessed it takes FOREVER to open the mailbox. (Were talking
> whole numbers of minutes.)
>
> It does this EVERY TIME I re-open the mailbox.
One of two likely things:
* you're using a full-header or body regexp (eg. to color or limit).
Mutt initially downloads a selection of headers suck as Subject, To and
From, so you can search against those without downloadind the full
message. However searching against things like X-My-Spam-Header will
cause the entire message to be downloaded for the index view
* or, you're using a CVS version and have enabled imap body caching? :-)
Fixes for the former are to alter the header set downloaded (a source
code change in older mutts, a config options since around 1.5.10?), or
set the X-Label header and use ~y to match (possibly using procmail to
do more complex matches as the mail is delivered).
Hope that gives you a few pointers.
Luke