You can limit to mail less than a certain size, or within a size range.
http://www.mutt.org/doc/manual/#patterns

~z [MIN]-[MAX]

You can make a macro which applies this limit.

You may also get creative with the header format to highlight mail that
is over a certain size.

I'm not sure about interrupting the download.

Good luck,
Andrew

On Fri, Dec 15, 2023 at 08:11:18AM -0500, Matthias Apitz wrote:
> 
> Hello,
> 
> I'm reading when not at home my mail directly with IMAP in mutt; mutt
> knows perfect the size of the mail (body) when presenting the Index
> page. When reading via datamobile I do not want to fetch mails with tons
> (Megabytes) of attachments. Sometimes I see the size but by accident I do
> start fetching such messages.
> 
> Questions:
> 
> How could I set a limit in mutt that it denies to tech messages with
> size over this limit?
> 
> How can I interrupt such fetch without killing mutt from another
> terminal?
> 
> Thanks
> 
>       matthias
> 
> -- 
> Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
> Public GnuPG key: http://www.unixarea.de/key.pub
> 
> I am not at war with Russia.
> Я не воюю с Россией.
> Ich bin nicht im Krieg mit Russland.

Reply via email to