Haim Dimermanas wrote: > My question is: Is there a way to have mutt download attachment on demand?
Currently there is not. IMAP support was grafted on and the easiest way was to download the entire message and use the existing local mailbox code to parse the message and deal with it. > It is very convenient to know the size of an email (attachments included) > before reading it. With IMAP the MUA downloads the headers first and the Change your $index_format to use %c, which is the size (in bytes) of the message. I don't recall off hand whether or not RFC822.SIZE includes the size of the header fields, but I don't believe it does. > Sent folder contains some 1,200 emails. I am used to Messenger caching the > headers on disk so that not all headers need to be downloaded every time I > try to find an email in these very large folders. Is there such a feature > for mutt? If yes, how do I activate it? I'm working on generalized header caching for mutt. Currently the patch only supports maildir/mh folders, but I am hoping that someone familiar with the IMAP code will take a shot at adding support for IMAP mailboxes as well. me