Table of Contents
2 .muttrc
-
http://dev.mutt.org/trac/wiki/ConfigLits
CONFIGURATION DESCRIPTION set move=no dont ask about moving message to mbox set imap_user = imap username set imap_pass = imap password set folder = main folder like "imaps://[hostname]" set ssl_starttls = yes set smtp_url = url lik smtp://[hostname]:25/ set smtp_pass = "$imap_pass" set spoolfile = "+INBOX" set realname = name set from = name set record = folder for outgoing messages set copy = no copy outgoing messages to above folder set pager_stop = yes do not move to the next message during reading my_hdr From: <mail@domain> set header #my_hdr CC: <mail@domain> my_hdr Reply-to: <mail@domain> my_hdr User-Agent: Mutt set header_cache=~/.hcache set file for source headers source /[path]/[filename] split config for many files set date_format="%b-%d %H:%M:%S" set index_format="%-4C%-5Z%-17d%-30a%s" index format auto_view text/html bind index "q" noop bind index "x" exit save-hook '~s [title]' "$folder/[folder]" set filter for saving directory alias [alias] email@domain set alias recipients, during sending put TAB color header brightyellow default "^date:" header coloers color header brightred default "^from:" color header white default "^to:" color header white default "^cc:" color header brightyellow red "^subject:" color status white black
3 OS mode
mutt -f imap://[IMAP_server]/inbox | logon to IMAP server |
4 Main mode (index)
COMMAND | DESCRIPTION |
---|---|
source [config_file] | reload config |
$ | run command, save mailbox, refresh |
@ | show sender address |
o | sort |
enter | show message |
d | mark to delete |
D | mark to delete based on regexp |
u | unmark delete |
U | unmark delete based on regexp |
r | reply |
g | reply all |
m | send |
= | first message |
k | previous message |
f | next message |
j | next message |
* | last message |
n | message nr [n] |
C-g | clean command line |
c | change directory, ? - directory list |
s | save message |
v | show attachement |
w | set flag |
W | unset flag |
t | tag message |
T | tag messag based on regexp |
4.1 index_format
- default: %4C %Z %{%b %d} %-15.15L (%4l) %s
- my: set index_format="%-5Z%-17d%-30a%s"
-
set date_format="%m-%d %H:%M:%S" #zgodne z strftime
%a address of the author %b filename of the original message folder (think mailBox) %B the list to which the letter was sent, or else the folder name (%b). %c number of characters (bytes) in the message %C current message number %d date and time of the message in the format specified by ``date_format'' converted to sender's time zone %D date and time of the message in the format specified by ``date_format'' converted to the local time zone %e current message number in thread %E number of messages in current thread %f entire From: line (address + real name) %F author name, or recipient name if the message is from you %i message-id of the current message %l number of lines in the message %L If an address in the To or CC header field matches an address defined by the users ``lists'' command, this displays "To <list-name>", otherwise the same as %F. %m total number of message in the mailbox %M number of hidden messages if the thread is collapsed. %N message score %n author's real name (or address if missing) %O (_O_riginal save folder) Where mutt would formerly have stashed the message: list name or recipient name if no list %s subject of the message %S status of the message (N/D/d/!/r/*) %t `to:' field (recipients) %T the appropriate character from the $to_chars string %u user (login) name of the author %v first name of the author, or the recipient if the message is from you %y `x-label:' field, if present %Y `x-label' field, if present, and (1) not at part of a thread tree, (2) at the top of a thread, or (3) `x-label' is different from preceding message's `x-label'. %Z message status flags
5 Message mode(pager)
i | exit |
[SPC] | next page |
- | prev page |
v | attach |
6 Flags
FLAG | DESCRIPTION |
---|---|
D | mark to delete |
N | new, not read |
O | old, but not read |
* | marked |
P | PGP included |
r | replied to |
+ | message only for you |
T | message for you with CC field |
C | you are at CC field |
F | message from you |
L | massage from subscribe list |
7 Tagging
T | tag message based on regexp |
;(semi-colon) | apply operation form tagged messages |
W | change flag |
8 Keybinding
-
edit muttrc ex.
bind index "q" noop #means not bind "q" key with index mode
9 Patterns for messages
~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 | PGP signed messages |
~G | PGP encrypted messages |
~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. |
~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) |
10 Keybinding patterns
\t | tab |
<tab> | tab |
\r | carriage return |
\n | newline |
\e | escape |
<esc> | escape |
<up> | up arrow |
<down> | down arrow |
<left> | left arrow |
<right> | right arrow |
<pageup> | Page Up |
<pagedown> | Page Down |
<backspace> | Backspace |
<delete> | Delete |
<insert> | Insert |
<enter> | Enter |
<return> | Return |
<home> | Home |
<end> | End |
<space> | Space bar |
<f1> | function key 1 |
<f10> | function key 10 |