On 001128, at 13:54:14, Daniel Kollar wrote:
> When opening a received mail containing a text/plain MIME attachment
> mutt always displays the contents of this attachment inside the pager.
> This can cause a problem when the size of the attachment is several
> MBytes big.
> 
> How do I prevent mutt from showing the contents of text/plain
> attachment inside the pager when a specific size limit is achieved?

Adding %c to $index_format will give you an indication of the total
size of a message, so you could avoid opening the message if it were
too large.

You wouldn't know anything about the attachment types; if it were a
multi-part message, and you just wanted to avoid opening a large
text/plain attachment, mutt would still have to scan the whole
message to determine the attachment types.  If scanning the message 
isn't a problem, but displaying it in the pager is, then you could
use the attachments menu to skip the large ones.

-- 
David Ellement

Reply via email to