17

For example , if I want to list only unseen/unread emails? I know you can use some sort of expressions when doing a search with / but not sure what is supported. Am I able to specify a flag based search for example?

1 Answer 1

31

Sounds like you're looking for the "limit" command. E.g. type "l~U" (that starts with an ell for "limit", not a 1 or an I....) to get all unread ("new") messages.

The Mutt Manual is very good. See section 3.1 for details on search expressions like "~U" for "Unread".

Update: I've fixed this to use "U" for Unread, rather than "N" for New.

2
  • 4
    New is not the same as "unread". What you really want is ~U, if you want unread messages.
    – vezult
    Jun 9, 2016 at 13:55
  • I used to classify mail into folders by procmail, but since one e-mail might fall into several classes, I was running into issues with redundancy. Mutt's filtering postpones the classification until I need it and solves my issues.
    – Witiko
    Mar 25, 2018 at 17:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .