Changes between Initial Version and Version 1 of linux/Mail/Mutt


Ignore:
Timestamp:
Jul 15, 2020, 5:44:21 AM (2 months ago)
Author:
mutetella
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • linux/Mail/Mutt

    v1 v1  
     1[[PageOutline]]
     2[[TitleIndex(linux/Mail/Mutt/, format=compact, hideprefix)]]
     3----
     4[[http://www.mutt.org/doc/manual/manual.html|Mutt Doc]]
     5----
     6== Config
     7
     8=== Display messages in thread form
     9
     10`~/.muttrc`:
     11
     12{{{
     13# show thread view, newest first
     14set sort = threads
     15# sort threads itself oldest to newest
     16set sort_aux = reverse-last-date-received
     17}}}
     18
     19=== Use aliases to save mail addresses
     20
     21`~/.muttrc`:
     22
     23{{{
     24# alias file (default: `~/.muttrc`)
     25set alias_file = ~/.mutt/aliases
     26# `address`  : by email address
     27# `alias`    : by alias name (default)
     28# `unsorted` : in order specified in alias_file
     29set sort_alias = alias
     30# display the personal name instead of mail-address
     31# in the alias list. (default: no)
     32set reverse_alias = yes
     33# read alias_file
     34source $alias_file
     35}}}
     36
     37== Common handling
     38
     39=== Searching
     40
     41`/` Search a regular expression within listing or mail\\`Esc/` Search backward\\`Q` Extern search e. g. addresses within `abook`\\`/~` Search within specific fields, see [[http://www.mutt.org/doc/manual/manual.html#toc4.2|Mutt Doc -> Patterns]]\\
     42
     43||~A              ||all messages
     44||~b EXPR         ||messages which contain EXPR in the message body
     45||~B EXPR         ||messages which contain EXPR in the whole message
     46||~c USER         ||messages carbon-copied to USER
     47||~C EXPR         ||message is either to: or cc: EXPR
     48||~D              ||deleted messages
     49||~d [MIN]-[MAX]  ||messages with `date-sent` in a Date range
     50||~E              ||expired messages
     51||~e EXPR         ||message which contains EXPR in the `Sender` field
     52||~F              ||flagged messages
     53||~f USER         ||messages originating from USER
     54||~g              ||PGP signed messages
     55||~G              ||PGP encrypted messages
     56||~h EXPR         ||messages which contain EXPR in the message header
     57||~k              ||message contains PGP key material
     58||~i ID           ||message which match ID in the `Message-ID` field
     59||~L EXPR         ||message is either originated or received by EXPR
     60||~l              ||message is addressed to a known mailing list
     61||~m [MIN]-[MAX]  ||message in the range MIN to MAX *)
     62||~n [MIN]-[MAX]  ||messages with a score in the range MIN to MAX *)
     63||~N              ||new messages
     64||~O              ||old messages
     65||~p              ||message is addressed to you (consults $alternates)
     66||~P              ||message is from you (consults $alternates)
     67||~Q              ||messages which have been replied to
     68||~R              ||read messages
     69||~r [MIN]-[MAX]  ||messages with `date-received` in a Date range
     70||~S              ||superseded messages
     71||~s SUBJECT      ||messages having SUBJECT in the `Subject` field.
     72||~T              ||tagged messages
     73||~t USER         ||messages addressed to USER
     74||~U              ||unread messages
     75||~v              ||message is part of a collapsed thread.
     76||~x EXPR         ||messages which contain EXPR in the `References` field
     77||~y EXPR         ||messages which contain EXPR in the `X-Label` field
     78||~z [MIN]-[MAX]  ||messages with a size in the range MIN to MAX *)
     79||~=              ||duplicated messages (see $duplicate_threads)
     80
     81==== Examples
     82
     83- Mails which subject field includes the phrase 'job'
     84{{{
     85/job
     86}}}
     87
     88- Mails `to:` and/or `cc:` starts with 'karl'
     89{{{
     90/~C^karl
     91}}}
     92 Note that 'karl' refers to the mail address not to the shown name. 'Lagerfeld, Karl <!karl@lagerfeld.com>' will match, 'karl lagerfeld <!lagerfeld.karl@lagerfeld.com>' won't!
     93
     94- Mails `to:` and/or `cc:` starts with 'sabine' or 'Sabine'. Start searching at the beginning of the listing
     95{{{
     96/^~C^[sS]abine
     97}}}
     98
     99- Mails which body (content) field includes the phrase 'the green tree'
     100{{{
     101/~b"the green tree"
     102}}}
     103
     104=== Get mail address from alias list
     105
     106Within the `To: ` line press `Tab` key to see the complete alias list or type the known alias name instead of the mail address.
     107
     108=== Forwarding a mail
     109
     110With the `f` key the selected mail will be forwarded to a new receiver.
     111
     112==== Forwarding with attachement
     113
     114[[http://debianforum.de/forum/viewtopic.php?f=29&t=15822|mutt: mails mit Anhang weiterleiten]]
     115
     116Go to the attachement list (`v` key) of the mail which should be forwarded and tag (`t` key) the wished attachement(s). With `;f` a new mail with the tagged attachement(s) will be created.