Mutt Quick Reference Letter PDF
Mutt Quick Reference Letter PDF
Mutt Quick Reference Letter PDF
04
Mutt is a small but very powerful text based program for
reading and sending electronic mail under unix operating
systems, including support for color terminals, MIME,
OpenPGP, and a threaded sorting mode.
OPTIONS
-A
-a
alias
file [...]
all messages
~b
=b
-b
address
-c
address
~B
~c
level
%c
~C
%C
~d
-d
-D
-e
command
-f
mailbox
-F
muttrc
-h
Display help.
draft
include
~D
deleted messages
~e
-n
%e
-p
~E
expired messages
~F
flagged messages
-Q
~f
%f
~g
~G
-v
~h
~H
-vv
~i
~k
~L
%L
~l
~m
~n
~N
new messages
~O
old messages
~p
HOME
~P
~Q
~r
~R
read messages
~s
~S
superseded messages
~t
~T
tagged messages
~u
~U
unread messages
~v
~V
~x
~X
~y
~z
/etc/mutt/mailcap
~=
~/.mime.types
~$
-H
-i
type
-m
query
-R
-s
subject
-x
-y
-z
When used with -f, causes Mutt not to start if there are
no messages in the mailbox.
-Z
MAILDIR
MAILCAPS
MM_NOASK
PGPPATH
TMPDIR
REPLYTO
VISUAL
FILES
~/.muttrc or ~/.mutt/muttrc
/etc/mutt/Muttrc
/tmp/muttXXXXXX
~/.mailcap
/etc/mutt/mime.types
Key
a
Function
Description
attach-file
attach a file
attach-message
ESC k
attach-key
^D
^U
edit-description
^N
detach-file
^P
edit-to
^R
ESC f
edit-from
ESC
edit-reply-to
ESC
edit-cc
ESC
edit-bcc
ESC
send-message
ESC
edit-subject
ESC
smime-menu
ESC
edit-fcc
ESC
pgp-menu
postpone-message
quit
write-fcc
ispell
^F
forget-passphrase
Description
[:alnum:]
POSIX
[A-Za-z0-9]
[:alpha:]
[A-Za-z]
[:blank:]
[ \t]
[:cntrl:]
[\x00-\x1F\x7F]
[:digit:]
[0-9]
list-reply
(default: L)
skip-quoted
(default: S)
[:graph:]
[\x21-\x7E]
toggle-quoted
(default: T)
[:lower:]
[a-z]
[:print:]
[\x20-\x7E]
shell-escape
(default: !)
[:punct:]
[!"#$%&'()*+,-./:;?@[\\\]_`{|}~]
enter-command
(default: ``:'')
[:space:]
[ \t\r\n\v\f]
pipe-message
(default: |)
[:upper:]
[A-Z]
[:xdigit:]
[A-Fa-f0-9]
For example, [[:upper:]ab] matches the uppercase letters and lowercase "a"
and "b"
extract-keys
(default: ^K)
checktraditional-pgp
(default: ESC P)
Description
attachment
Key
m
Function
Description
body
compose
bold
reply
group-reply
list-reply
forward
hdrdefault
bounce
indicator
f
b
ESC k
f=f
mail-key
reply to sender
error
header
Compose Menu - after finish editing the body you are returned to the
compose menu.
index
markers
message
(informational messages)
normal
quoted
quoted1,
quoted2, ...,
quotedN
search
signature
(mode lines used to display info about the mailbox or message)
status
tilde
tree
underline
(hiliting underlined patterns in the body of messages)
foreground and
background
* white * black * green * magenta * blue
colors
cyan * yellow * red * default * colorx
Command
alias
unalias
group
foreground can optionally be prefixed with the keyword bright to make the foreground
color boldfaced (e.g., brightred)
Pattern
Description
alternates
alternative_order
Example
ungroup
unalternates
Complex Patterns
Description
unauto_view
mime_lookup
!(~t mutt|~c mutt) ~f elkins This pattern will select all messages which do
not contain ``mutt'' in the ``To'' or ``Cc'' field and which are from ``elkins''.
unmime_lookup
'~s "^Junk +From +Me$" ~f ("Jim +Somebody"|"Ed +SomeoneElse")' the mail's subject must match the ``^Junk +From +Me$'' and it must be from either
``Jim +Somebody'' or ``Ed +SomeoneElse''. Note that if a regular expression contains
parenthesis, or a vertical bar ("|"), you must enclose the expression in double or single
quotes since those characters are also used to separate different parts of Mutt's
pattern language.
bind
macro
()
ignore
unignore
Function
Description
unlist
subscribe
unsubscribe
mailboxes
unmailboxes
backward-char
backward-word
delete-char
eol
forward-char
push
Esc F
forward-word
set
<Tab>
complete
complete-query
^B or <Left>
Esc B
^D or <Delete>
^E or <End>
^F or <Right>
^T
^K
ESC d
kill-eol
kill-eow
reset
kill-word
^U
kill-line
^V
quote-char
<Up>
history-up
history-down
backspace
Esc u
upcase-word
Esc l
downcase-word
Esc c
capitalize-word
^G
n/a
abort
<Return>
n/a
finish editing
<Down>
toogle
unset
^W
<BackSpace>
lists
bol
^A or <Home>
headerfields in muttrc
header
Description
my_hdr
unmy_hdr
hdr_order
source
spam
nospam
headerfields in muttrc
header
my_hdr
unmy_hdr
hdr_order
hooks in muttrc
Hook Name
Description
account-hook
charset-hook
iconv-hook
folder-hook
charset
string (default =)
check_new
boolean (default =
yes)
mbox-hook
save-hook
compose_format
config_charset
string (default = )
confirmcreate
boolean (default =
yes)
fcc-hook
fcc-save-hook
send-hook
send2-hook
reply-hook
cryp_hook
content_type
open-hook
copy
close-hook
append-hook
unhook
configuration variables
variable
type
alias_file
alias_format
allow_8bit
boolean (default =
yes)
allow_ansi
boolean (default =
no)
arrow_cursor
boolean (default =
no)
asccii_chars
boolean (default =
no)
askbcc
boolean (default =
no)
askcc
boolean (default =
no)
attach_format
string (default = %u
%D%I %t%4n %T
Specify encoding scheme for attached text
%.40d%> [%.7m/%.
files
10M, %.6e%?C?,
%C?, %s] )
Specify separator to add between
attachments
attach_sep
attribution
auto_edit
boolean (default =
no)
HMM,
beep
boolean (default =
yes)
beep_new
boolean (default =
no)
bounce
crypt_use_pka
boolean (default =
no)
crypt_autopgp
boolean (default =
yes)
date_format
string (default = !
%a, %b %d, %Y at
%I:%M:%S%p
%Z )
default_hook
string (default = ~f
specify how various hooks will be
%s !~P | (~P ~C
interpreted.
%s) )
string (default =
text/plain)
Description
delete
delete_untag
path (default =)
path (default =
dotlock_programm /usr/bin/mutt_dotlo path to mut_dotlock programm
ck)
dns_notify
string (default =)
dns_return
string (default = )
edit_headers
boolean (default =
no)
editor
path (default = )
encode_from
boolean (default =
no)
escape
string (default = )
fast_reply
boolean (default =
no)
fcc_attach
boolean (default =
yes)
fcc_clear
boolean (default =
no)
folder
folder_format
force_name
forward_decode
forward_edit
forward_format
boolean (default =
yes)
Controls whether or not the Mail-FollowupTo header field is generated when sending
mail.
boolean (default =
no)
boolean (default =
yes)
quadoption
(default= yes)
from
e-mail address
(default: )
gecos_mask
regex (default
^[^,]*
hdrs
boolean (default =
yes)
header
boolean (default =
no)
help
boolean (default =
yes)
hidden_host
boolean (default =
no)
hide_limited
boolean (default =
no)
boolean (default =
yes)
boolean (default =
yes)
hide_missing
hide_thread_subject
imap_idle
boolean (default =
no)
imap_keepalive
number (default =
90)
boolean (default:
no)
forward_quote
string (default =)
imap_pass
string (default = )
imap_passive
boolean (default =
no)
imap_peek
boolean (default =
yes)
include
indent_string
boolean (default =
no)
hide_top_missing
ispell
boolean (default =
yes)
keep_flagged
string (default = )
boolean (default =
no)
string (default =
C )
mail_check
number (default =
5)
mailcap_path
string (default = )
locale
maildir_mtime
header_cache
string (default = )
boolean (default =
yes)
imap_headers
path (default =
ispell)
imap_delim_chars
string (default =
%4C %Z %{%b
%d} %-15.15L (%?
l?%4l&%4c?) %s)
index_format
ignore_list_reply_to
hide_top_limited
number (default =
10)
string (default =)
history
path (default = )
maildir_trash
boolean (default =
no)
boolean (default =
yes)
markers
boolean (default =
yes)
regex (default = !
^\.[^.] )
path (default =
~/mbox)
mask
mbox
folder magic
(default mbox)
metoo
boolean (default =
no)
menu_context
number (default =
0)
menu_move_off
boolean (default =
yes)
menu_scroll
boolean (default =
no)
boolean (default =
no)
boolean (default =
no)
string (default =
flagged)
mbox_type
meta_key
mh_purge
mh_seq_flagged
mime_forward
string (default =
unseen)
narrow_tree
boolean (default =
no)
net_inc
number (default =
10)
path (default =
builtin)
number (default =
0)
pager
pager_context
pager_format
Determines the number of lines of a miniindex which is shown when in the pager.
pager_stop
boolean (default =
no)
crypt_autosign
boolean (default =
no)
path (default =
mixmaster)
message_cachedi
path (default = )
r
regex (default = )
pgp_check_exit
boolean (default =
yes)
pgp_long_ids
boolean (default =
no)
boolean (default =
no)
pgp_autoinline
pgp_strict_enc
boolean (default =
yes)
pgp_timeout
number (default =
300)
pgp_sort_keys
sort order (default = Specifies how the entries in the pgp keys
address)
menu are sorted.
pgp_mime_auto
pgp_auto_decode
boolean (default =
no)
pgp_decode_comm
This format strings specifies a command
string (default = )
and
which is used to decode application/pgp
attachments.
pgp_getkeys_com
This command is invoked whenever mutt
string (default = )
mand
will need public key information.
pgp_verify_comm
This command is used to verify PGP
string (default = )
and
signatures.
pgp_decrypt_com
This command is used to decrypt a PGP
string (default = )
mand
encrypted message.
pgp_clearsign_
This format is used to create a old-style
string (default = )
command
clearsigned PGP message.
This command is used to create the
pgp_sign_comman
string (default = ) detached PGP signature for a
d
multipart/signed PGP/MIME body part.
pgp_encrypt_sign
This command is used to both sign and
string
(default
=
)
_command
encrypt a body part.
pgp_encrypt_only
This command is used to encrypt a body
string (default = )
_command
part without signing it.
This command is used to import a key
pgp_import_comm
string (default = ) from a message into the users public key
and
ring.
pgp_export_comm
This command is used to export a public
string (default = )
and
key from the users key ring.
pgp_verify_key_
This command is used to verify key
string (default = )
command
information from the key selection menu.
pgp_list_secrin
This command is used to list the secret
string (default = )
g_command
key rings contents.
pgp_list_pubring
This command is used to list the public
string (default = )
_command
key rings contents.
forward_decrypt boolean (default =
yes)
smime_timeout
number (default =
300)
smime_encrypt_wi
This sets the algorithm that should be used
string (default = )
th
for encryption.
path (default = )
smime_ca_locatio
path (default = )
n
smime_keys
)
and
multipart/signed, which can be read by
all mail clients.
This command is used to created S/MIME
signatures of type application/x-pkcs7smime_sign_opaq
string (default = ) signature, which can
only be
ue_command
handled by mail clients supporting the
S/MIME extension.
smime_encrypt_co
This command is used to create encrypted
string (default = )
mmand
S/MIME messages.
This command is used to extract PKCS7
smime_pk7out_co
string (default = ) structures of S/MIME signatures, in order
mmand
to extract the public X509 certificate(s).
smime_get_cert_
This command is used to extract X509
string (default = )
command
certificates from a PKCS7 structure.
This command is used to extract only the
signers X509 certificate from a S/MIME
smime_get_signer
_cert_command string (default = ) signature, so that the certificates owner
may get compared to the emails Fromfield.
smime_import_ce
This command is used to import a
string (default = )
rt_command
certificate via smime_keys.
This command is used to extract the mail
address(es) used for storing X509
smime_get_cert_e
certificates, and for
string (default = )
mail_command
verification purposes (to check
whether the certificate was issued for the
senders mailbox).
smime_default_ke
This is the default key-pair to use for
string (default = )
y
signing.
ssl_force_tls
boolean (default =
no)
ssl_starttls
ssl_use_tlsv1
boolean (default =
yes)
boolean (default =
yes)
ssl_ca_certific
paht (default = )
ates_file
pipe_split
boolean (default =
no)
pipe_decode
boolean (default =
no)
string (default =
\n )
pipe_sep
)
ors
to use to log in to an POP server, in the
order mutt should try them.
smime_certifica
path (default = )
tes
pop_delete
pop_host
string (default = ) The name of your POP server for the fetchCourtesy of Sys.Concept www.sysconcept.ca
reverse_alias
boolean (default =
no)
reverse_name
boolean (default =
no)
mail function.
pop_last
pop_reconnect
pop_user
pop_pass
boolean (default =
no)
string (default = )
postponed
path (default
= /postponed)
preconnect
print_command
print_decode
print_split
prompt_after
query_command
quit
quote_regexp
boolean (default =
yes)
boolean (default =
no)
boolean (default =
yes)
path (default = )
read_inc
read_only
boolean (default =
no)
realname
recall
record
reply_regexp
reply_self
reply_to
resolve
path (default =
~/sent)
save_address
boolean (default =
no)
save_empty
boolean (default =
yes)
save_history
number (default =
0)
save_name
boolean (default =
no)
score
boolean (default =
yes)
send_charset
string (default =
usascii:iso-8859-1:utf8 )
sendmail
path (default =
/usr/sbin/sendmail
-oem -oi )
sendmail_wait
number (default =
0)
shell
paht (default = )
sig_dashes
boolean (default =
yes)
sig_on_top
boolean (default =
no)
signature
path (default =
~/.signature)
simple_search
smart_wrap
boolean (default =
yes)
smileys
regex (default =
(>From )|(:[-^]?[][)
(><}{|/DP]) )
sleep_time
number (default =
1)
regex (default =
A regular expression used to recognize
^(re([\[0-9\]+])*|aw): reply messages when threading and
[ \t]* )
replying.
boolean (default =
no)
smtp_authenticat
string (default = )
ors
smtp_pass
string (default = )
smtp_url
string (default = )
use_idn
boolean (default =
yes)
sort_alias
use_ipv6
boolean (default =
yes)
sort_aux
user_agent
boolean (default =
yes)
sort_browser
visual
path (default = )
sort_re
boolean (default =
yes)
wait_key
boolean (default =
yes)
path (default = )
weed
boolean (default =
yes)
status_chars
string (default = -*
%A )
wrap
number (default =
0)
wrap_search
boolean (default =
yes)
wrapmargin
number (default =
0)
status_format
write_inc
number (default =
10)
write_bcc
boolean (default =
yes)
xterm_icon
boolean (default =
no)
strict_threads
boolean (default =
no)
suspend
boolean (default =
yes)
boolean (default =
no)
status_on_top
text_flowed
tilde
boolean (default =
no)
timeout
number (default =
600)
tmpdir
path (default = )
string (default =
+TCFL)
to_chars
trash
path (default = )
tunnel
string (default = )
use_8bitmime
boolean (default =
no)
use_domain
boolean (default =
yes)
boolean (default =
yes)
xterm_title
string (default =
Mutt with %?m?
%m messages&no
messages?%?n?
[%n NEW]? )
Description
maps in muttrc
ESC C
ESC s
mark as important
Meaning
tab
tab
<tab>
save-message
<down>
down arrow
<left>
left arrow
t
ESC t
backtab / shift-tab
<backtab>
\r
carriage return
\n
\e
<esc>
attach menu
browser
escape
editor
editor
index
index
Page Down
<backspace>
Backspace
<delete>
Delete
view-attachments
<insert>
Insert
<enter>
Enter
search
ESC /
Return
<home>
Home
<return>
search-reverse
^L
^T
compose
pager
pgp
<pagedown>
undelete-message
<Return> display-message
alias menu
browser
Page Up
<pageup>
everywhere
alias
escape
right arrow
<right>
Description
newline
up arrow
<up>
map
generic
attach
<Tab>
postpone
mix
compose menu
pager
pgp menu
postpone menu
Default mix function bindings keys:
RET,a,i,d,left,right
End
<end>
Space bar
<space>
<f1>
function key 1
<f10>
function key 10
message is new
message is old
Key
j or Down
k or Up
message is signed
message is flagged
set-flag (D/N/O/r/*/!)
Description
next-entry
previous-entry
z or PageDn page-down
Z or PageUp
page-up
= or Home
first-entry
last-entry
quit
* or End
Function
Description
show keybindings
ESC /