14

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?

migrated from stackoverflow.com May 8 '13 at 21:58

This question came from our site for professional and enthusiast programmers.

21

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 4.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.

  • 1
    New is not the same as "unread". What you really want is ~U, if you want unread messages. – vezult Jun 9 '16 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 '18 at 17:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.