Lista comandi e procedure per mutt

From RVM Wiki
Jump to navigation Jump to search

Spostare messaggi

Selezionare i messaggi e premere "s", navigare nella cartella voluta e selezionarla con "spazio".


Spostare (o eseguire altre operazioni) su più messaggi (TAG)

La guida per i Tag è Tag & Patterns

Taggare i messaggi con "t" o selezionarli con un criterio tramite "T"

Per Untaggare i messaggi usare "CTRL-t", per Untaggare con criteri usare "CTRL-T"

Usare il prefisso per operare sui messaggi taggati ";" e di seguito il comando, ad esempio "s", cioè bisogna scrivere: ";s"

Di seguito si elencano i ciriteri usati per taggare i messaggi con "T" (Shift-t) come da documentazione ufficile di mutt 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 USER         messages carbon-copied to USER
~C EXPR         message is either to: or cc: EXPR
~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
~F              flagged messages
~f USER         messages originating from USER
~g              cryptographically signed messages
~G              cryptographically encrypted messages
~H EXPR         messages with a spam attribute matching EXPR
~h EXPR         messages which contain EXPR in the message header
~k              message contains PGP key material
~i ID           message which match ID in the ``Message-ID'' field
~L EXPR         message is either originated or received by EXPR
~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              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 messages (requires threaded view)


Per le date usare il formato gg/mm/aaaa


Espressioni di tag Complesse (AND OR)

Logical AND is performed by specifying more than one criterion. For example:

~t mutt ~f elkins

would select messages which contain the word ``mutt in the list of recipients and that have the word ``elkins in the ``From header field.

Mutt also recognizes the following operators to create more complex search patterns:

   * ! -- logical NOT operator
   * | -- logical OR operator
   * () -- logical grouping operator

Here is an example illustrating a complex search pattern. This pattern will select all messages which do not contain ``mutt in the ``To or ``Cc field and which are from ``elkins.

!(~t mutt|~c mutt) ~f elkins

Here is an example using white space in the regular expression (note the ' and " delimiters). For this to match, the mail's subject must match the ``^Junk +From +Me$ and it must be from either ``Jim +Somebody or ``Ed +SomeoneElse:

'~s "^Junk +From +Me$" ~f ("Jim +Somebody"|"Ed +SomeoneElse")'

Risettare un messaggio come nuovo dopo averlo letto

Usare "N"

Vedere se ci sono nuovi messaggi

Per rileggere la inbox, provare una di queste opzioni:

  • Cambiare la casella con c=
  • Usare <TAB>

Expunge dei messaggi cancellati

Per cancellare definitivamente dei messaggi marcati per la cancellazione, senza dover uscire da mutt usare il tasto "$"