I subscribed to several mailing lists that prefix the Subject:header with a fixed string like [list-foo]. This clutters my indexview and limits the usable space.I'd like to strip this [list-foo] header from the index view.What's the best way to achieve that? Maybe a regular expression canbe hooked into the index_format setting? I don't necessarily needto strip the prefix permanently, it's sufficient to not display itin the index. It may still show up in the pager and be included inresponses.I know that Claws-Mail has a function that does exactly this. It's called Simplify Subject RegExp.If this is not possible using mutt I guess one option would be topermanently change the headers using a mail filter like maildrop(which I use for sorting, though not for header manipulation). Feelfree to also add a solution that uses maildrop to strip the prefixfrom the headers.
Remove prefix from subject header in index view
mutt;maildrop