Commit d9274e93 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

Update Mutt.md

parent 4f90c0f1
Loading
Loading
Loading
Loading
Loading
+55 −53
Original line number Diff line number Diff line
@@ -57,59 +57,61 @@ Q -> Query-Präfix

## Suchmuster

```
~A              all messages
~b EXPR         messages which contain EXPR in the message body
~B EXPR         messages which contain EXPR in the whole message
~c USER         messages carbon-copied to USER
%c GROUP        messages carbon-copied to any member of GROUP
~C EXPR         message is either to: or cc: EXPR
%C GROUP        messages either to: or cc: to any member of GROUP
~D              deleted messages
~d [MIN]-[MAX]  messages with ``date-sent'' in a Date range
~E              expired messages
~e EXPR         message which contains EXPR in the ``Sender'' field
%e GROUP        messages which contain a member of GROUP in the “Sender” field
~F              flagged messages
~f USER         messages originating from USER
%f GROUP        messages originating from any member of GROUP
~g              PGP signed messages
~G              PGP encrypted messages
~h EXPR         messages which contain EXPR in the message header
~H EXPR	        messages with a spam attribute matching EXPR
~i ID           message which match ID in the ``Message-ID'' field
~k              message contains PGP key material
~L EXPR         message is either originated or received by EXPR
%L GROUP        message either originated or received by any member of GROUP
~l              message is addressed to a known mailing list
~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              read messages
~r [MIN]-[MAX]  messages with ``date-received'' in a Date range
~S              superseded messages
~s SUBJECT      messages having SUBJECT in the ``Subject'' field.
~T              tagged messages
~t USER         messages addressed to USER
~u              messages 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
~X [MIN]-[MAX]	messages with MIN to MAX attachments *)
~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 messages (requires threaded view)
~(PATTERN)      messages in threads containing messages matching PATTERN, e.g. all threads containing messages from you: ~(~P)

*) The forms “<[MAX]”, “>[MIN]”, “[MIN]-” and “-[MAX]” are allowed, too.
**) The suffixes “K” and “M” are allowed to specify kilobyte and megabyte respectively.
```
| Pattern          | Description                                                      |
|------------------|------------------------------------------------------------------|
| `~A`             | all messages                                                     |
| `~b EXPR`        | messages which contain `EXPR` in the message body                |
| `~B EXPR`        | messages which contain `EXPR` in the whole message               |
| `~c USER`        | messages carbon-copied to `USER`                                 |
| `%c GROUP`       | messages carbon-copied to any member of `GROUP`                  |
| `~C EXPR`        | message is either `to:` or `cc:` `EXPR`                          |
| `%C GROUP`       | messages either `to:` or `cc:` to any member of `GROUP`          |
| `~D`             | deleted messages                                                 |
| `~d [MIN]-[MAX]` | messages with `date-sent` in a Date range                        |
| `~E`             | expired messages                                                 |
| `~e EXPR`        | message which contains `EXPR` in the `Sender` field              |
| `%e GROUP`       | messages which contain a member of `GROUP` in the `Sender` field |
| `~F`             | flagged messages                                                 |
| `~f USER`        | messages originating from `USER`                                 |
| `%f GROUP`       | messages originating from any member of `GROUP`                  |
| `~g`             | PGP signed messages                                              |
| `~G`             | PGP encrypted messages                                           |
| `~h EXPR`        | messages which contain `EXPR` in the message header              |
| `~H EXPR`        | messages with a spam attribute matching `EXPR`                   |
| `~i ID`          | message which match `ID` in the `Message-ID` field               |
| `~k`             | message contains PGP key material                                |
| `~L EXPR`        | message is either originated or received by `EXPR`               |
| `%L GROUP`       | message either originated or received by any member of `GROUP`   |
| `~l`             | message is addressed to a known mailing list                     |
| `~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`             | read messages                                                    |
| `~r [MIN]-[MAX]` | messages with `date-received` in a Date range                    |
| `~S`             | superseded messages                                              |
| `~s SUBJECT`     | messages having `SUBJECT` in the `Subject` field.                |
| `~T`             | tagged messages                                                  |
| `~t USER`        | messages addressed to `USER`                                     |
| `~u`             | messages 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          |
| `~X [MIN]-[MAX]` | messages with `MIN` to `MAX` attachments *)                      |
| `~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                                              |
| `~$`         | unreferenced messages (requires threaded view)                                                                     |
| `~(PATTERN)` | messages in threads containing messages matching `PATTERN`, e.g. all threads containing messages from you: `~(~P)` |

*) The forms `<[MAX]`, `>[MIN]`, `[MIN]-` and `-[MAX]` are allowed, too.

**) The suffixes `K` and `M` are allowed to specify kilobyte and megabyte respectively.


* You can force Mutt to treat EXPR as a simple string instead of a regular expression by using = instead of ~ in the pattern name.
* Dates must be in DD/MM/YY format (month and year are optional, defaulting to the current month and year).