<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #3354: Please support downloading fewer headers via IMAP



#3354: Please support downloading fewer headers via IMAP
--------------------+-------------------------------------------------------
 Reporter:  josh    |       Owner:  mutt-dev
     Type:  defect  |      Status:  new     
 Priority:  major   |   Milestone:          
Component:  mutt    |     Version:          
 Keywords:          |  
--------------------+-------------------------------------------------------
 mutt currently downloads a fixed set of headers via IMAP, plus any
 additional headers specified in the imap_headers configuration variable.
 However, the fixed set of headers includes several that seem potentially
 unnecessary, and reducing the set of downloaded headers would improve
 performance with large folders.

 mutt currently downloads these headers: DATE FROM SUBJECT TO CC MESSAGE-ID
 REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO LINES
 LIST-POST X-LABEL

 Obviously mutt needs Date, From, Subject, To, and Cc in order to display
 mails properly.  (In theory mutt doesn't need To and Cc, if not displaying
 some indication of how you received a mail, but I don't want to argue for
 that here.)  Similarly, mutt needs Message-Id, References, and In-Reply-To
 to thread messages properly.

 On the other hand, X-Label doesn't need downloading unless a user wants to
 use labels themselves, and mutt doesn't support labels by default, so it
 seems reasonable to allow omitting it or even to do so by default.  mutt
 doesn't need List-Post and Reply-To until replying to a mail, and it needs
 the entire message for quoting at that point anyway.  Content-Type and
 Content-Description relate to MIME, and mutt shouldn't need those until it
 goes to decode the mail, so it seems unnecessary to download them in
 advance.  And finally, Lines looks like a deprecated field, used for news
 only, and standards specifically say that user agents should ignore it; it
 doesn't seem useful to download at all.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3354>
Mutt <http://www.mutt.org/>
The Mutt mail user agent