I am learning mutt and I am lost. If you are like me, you may like the following cheat sheet!
I am using it through imap, it may be different with local mailbox.
Note: case is important
Change folder :
Filter the display with
l(for limit) and give a filter using this syntax:
~dfor date and
<2wfor “less than 2 weeks”
~b "hello mate":
~bis for body and the string is something to find in the body
~ffor from and you can make an expression
~sfor subject and use a pattern
;to apply a tag to marked messages
Deleting mails using a filter: press
Dand write the filter
Delete a mail:
d(it will be marked as Deleted)
Deleted messages will be removed when you change the folder or if you exit. Press
$ to trigger manually.