Mutt understands the following simple patterns: ~A all messages ~b EXPR messages which contain EXPR in the message body ~B EXPR messages which contain EXPR in the whole message ~c EXPR messages carbon-copied to EXPR ~C EXPR message is either to: or cc: EXPR ~d MIN-MAX messages with "date-sent" in a Date range ~D deleted messages ~e EXPR message which contains EXPR in the "Sender" field ~E expired messages ~f EXPR messages originating from EXPR ~F flagged messages ~g PGP signed messages ~G PGP encrypted messages ~h EXPR messages which contain EXPR in the message header ~H EXPR messages with spam tags matching EXPR ~i EXPR message which match EXPR in the "Message-ID" field ~k message contains PGP key material ~l message is addressed to a known mailing list ~L EXPR message is either originated or received by EXPR ~m MIN-MAX message in the range MIN to MAX ~n MIN-MAX messages with a score in the range MIN to MAX ~N new messages ~O old messages ~p message is addressed to you (consults $alternates) ~P message is from you (consults $alternates) ~Q messages which have been replied to ~r MIN-MAX messages with "date-received" in a Date range ~R read messages ~s EXPR messages having EXPR in the "Subject" field. ~S superseded messages ~t EXPR messages addressed to EXPR ~T tagged messages ~u message is addressed to a subscribed mailing list ~U unread messages ~v message is part of a collapsed thread. ~V cryptographically verified messages ~x EXPR messages which contain EXPR in the "References" field ~y EXPR messages which contain EXPR in the "X-Label" field ~z MIN-MAX messages with a size in the range MIN to MAX ~= duplicated messages (see $duplicate_threads) ~$ unreferenced message (requries threaded view) In the above, EXPR is a regular expression. With the ~m, ~n, and ~z operators, you can also specify ranges in the forms <MAX, >MIN, MIN-, and -MAX. Matching dates The ~d and ~r operators are used to match date ranges, which are interpreted to be given in your local time zone. A date is of the form DD[/MM[/[cc]YY]], that is, a two-digit date, optionally followed by a two-digit month, optionally followed by a year specifications. Omitted fields default to the current month and year. (source: man (5) muttrc)
This entry was posted on Friday, July 14th, 2006 at 12:00 am and is filed under cheatsheets. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.