I tried this:
folder-hook . 'color index green black "~B \"Content-disposition: attachment;\""'
but got nothing except exceptionally slow rendering of the inbox.
Is there any way to do this, or generally anything that will allow me to see messages with attachments in the index (flags etc..) that can be solved by configuration and not patching.
Best Answer
That is match message with 1 or more attachments.
works with my version of
mutt
(mutt-patched 1.5.21-5nntp1) though it looks like it's available in the vanilla version frommutt.org
as well and has first been introduced in1.5.12
released in September 2005.It's going to be slow in any case, because to find out about attachments, you have to read the body (so that means the emails will have to be downloaded). Or you can use Dennis solution that gives a good approximation in most cases.