I'm using this to color spammy mails in the index: folder-hook . "uncolor index *" folder-hook restore@backup.invalid "color index red default '~h ^X-Spam:'"
That's working OK, but it's quite slow. It seems that mutt is fetching the whole body (instead of just the headers). But I can live with that. When I'm done processing that particular mailbox, I'm marking all messages deleted. This process again fetches all mails, before marking them delete -- and I fail to understand why... % mutt -v Mutt 1.9.4 (2018-02-28) System: Linux 4.15.0-20-generic (x86_64) ncurses: ncurses 6.1.20180127 (compiled with 6.1) libidn: 1.33 (compiled with 1.33) hcache backend: tokyocabinet 1.4.48 Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | https://www.charite.de