summaryrefslogtreecommitdiffstats
path: root/upstream/fedora-40/man1/mutt.1
blob: b7c2a81d2642427291bcb0c880445782317fe1dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
.\" -*-nroff-*-
.\"
.\"
.\"     Copyright (C) 1996-2023 Michael R. Elkins <me@cs.hmc.edu>
.\" 
.\"     This program is free software; you can redistribute it and/or modify
.\"     it under the terms of the GNU General Public License as published by
.\"     the Free Software Foundation; either version 2 of the License, or
.\"     (at your option) any later version.
.\" 
.\"     This program is distributed in the hope that it will be useful,
.\"     but WITHOUT ANY WARRANTY; without even the implied warranty of
.\"     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\"     GNU General Public License for more details.
.\" 
.\"     You should have received a copy of the GNU General Public License
.\"     along with this program; if not, write to the Free Software
.\"     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
.\"
.TH MUTT 1 "July 24, 2020" Unix "User Manuals"
.SH NAME
mutt \- The Mutt Mail User Agent
.SH SYNOPSIS
.TP 6
.B mutt
[\fB\-nRyzZ\fR]
[\fB\-e \fIcommand\fR]
[\fB\-F \fIrcfile\fR]
[\fB\-m \fItype\fR]
[\fB\-f \fImailbox\fR]
.TP 6
.B mutt
[\fB\-Enx\fR]
[\fB\-e \fIcommand\fR]
[\fB\-F \fIrcfile\fR]
[\fB\-H \fIdraft\fR]
[\fB\-i \fIinclude\fR]
.br
[\fB\-b \fIbcc-addr\fR]
[\fB\-c \fIcc-addr\fR]
[\fB\-s \fIsubject\fR]
.br
[\fB\-a \fIfile ... \fB\-\-\fR]
\fIto-addr ...
.TP 6
.B mutt
[\fB\-nx\fR]
[\fB\-e \fIcommand\fR]
[\fB\-F \fIrcfile\fR]
[\fB\-b \fIbcc-addr\fR]
[\fB\-c \fIcc-addr\fR]
.br
[\fB\-s \fIsubject\fR]
[\fB\-a \fIfile ... \fB\-\-\fR]
\fIto-addr ... \fR< message
.TP 6
.B mutt
[\fB\-n\fR]
[\fB\-e \fIcommand\fR]
[\fB\-F \fIrcfile\fR]
\fB\-p
.TP 6
.B mutt
[\fB\-n\fR]
[\fB\-e \fIcommand\fR]
[\fB\-F \fIrcfile\fR]
\fB\-A \fIalias
.TP 6
.B mutt
[\fB\-n\fR]
[\fB\-e \fIcommand\fR]
[\fB\-F \fIrcfile\fR]
\fB\-Q \fIvariable
.TP 6
.B mutt
\fB\-v\fR[\fBv\fR]
.TP 6
.B mutt
\fB\-D
.SH DESCRIPTION
.PP
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.
.PP
.BR Note :
This manual page gives a brief overview of the \fBmutt\fP executable command
line options.
A copy of the full manual is located in \fI/usr/share/doc/mutt\fP, in text, HTML, and/or
PDF format.
Please refer to the manual to learn how to use and configure Mutt.
.SH OPTIONS
.TP
.BI \-A " alias"
Print an expanded version of the given \fIalias\fP and exit.
.TP
.BI \-a " file ... "
Attach a \fIfile\fP using MIME.
Separating \fIfile\fP and \fIto-addr\fP arguments with \*(lq\fB\-\-\fP\*(rq is
mandatory.
For example:
.sp
.in +4m
.nf
mutt \-a image.jpg \-\- to-addr
mutt \-a img.jpg *.png \-\- to-addr-1 to-addr-2
.fi
.in
.sp
The \fB\-a\fP option must be placed at the end of command line options.
.TP
.BI \-b " bcc-addr"
Specify a blind carbon copy (BCC) address.
.TP
.BI \-c " cc-addr"
Specify a carbon copy (CC) address.
.TP
.BI \-d " level"
If Mutt was compiled with \fB+DEBUG\fP log debugging output to
\fI~/.muttdebug0\fP.
\fILevel\fP can range from -5 to 5 and affects verbosity. A value of
zero disables debugging. A value less than zero disables automatic log
file rotation; the log level is then its absolute value. A value of 2
(-2) is recommended for most diagnosis.
.TP
.B \-D
Print the value of all configuration options to stdout.
.TP
.B \-E
Edit the \fIdraft\fP file specified by \fB\-H\fP or \fIinclude\fP file
specified by \fB-i\fP during message composition.
.TP
.BI \-e " command"
Specify a configuration \fIcommand\fP to be run after processing of
initialization files.
.TP
.BI \-f " mailbox"
Specify a \fImailbox\fP to load.
.TP
.BI \-F " rcfile"
Use \fIrcfile\fP instead of the user configuration file.
.TP
.B \-h
Display a short option summary and exit.
.TP
.BI \-H " draft"
Specify a \fIdraft\fP file which contains header and body to use to
send a message.  If \fIdraft\fP is \*(lq\fB\-\fP\*(rq, then data is
read from stdin.  The draft file is expected to contain just an RFC822
email \(em headers and a body.  Although it is not an mbox file, if an
mbox "\fBFrom\~\fP" line is present, it will be silently discarded.
Draft files are processed the same in interactive and batch mode; they
are not passed through untouched.  For example, encrypted draft files
will be decrypted.
.TP
.BI \-i " include"
Specify an \fIinclude\fP file to be inserted into the body of a message.
Ignored if \fB\-H\fP is set.
If \fIinclude\fP is \*(lq\fB\-\fP\*(rq, then data is read from stdin.
.TP
.BI \-m " type"
Specify a default mailbox \fItype\fP for newly created folders.
Can be one of the following: mbox, MMDF, MH or Maildir.
See also \fB$mbox_type\fP in the manual.
.TP
.B \-n
Do not read the system-wide Muttrc configuration file.
.TP
.B \-p
Resume a postponed message.
Exit immediately if there are no postponed messages.
.TP
.BI \-Q " variable"
Query a configuration \fIvariable\fP.
The query is performed after all configuration files have been parsed, and any
\fIcommands\fP given on the command line have been executed.
.TP
.B \-R
Open a mailbox in read-only mode.
.TP
.BI \-s " subject"
Specify the \fIsubject\fP of the message.
Must be enclosed in quotes if it contains spaces.
.TP
.B \-v
Display the Mutt version number and compile-time definitions.
.TP
.B \-vv
Display license and copyright information.
.TP
.B \-x
Emulate the
.BR mailx (1)
compose mode.
.TP
.B \-y
Start Mutt with a listing of all mailboxes specified by the \fImailboxes\fP
configuration command.
.TP
.B \-z
Exit immediately with code 1 if \fImailbox\fP specified by \fB\-f\fP does not
contain any messages.
.TP
.B \-Z
Open the first mailbox specified by the \fImailboxes\fP configuration command
which contains new mail.
Exit immediately with code 1 if there is no new mail in any of them.
.TP
.B \-\-
Treat remaining arguments as \fIto-addr\fP even if they start with a dash.
See also \fB\-a\fP above.
\fITo-addr\fP can be a local or network mail address as well as mailto: URL.
.SH ENVIRONMENT
.IP "EDITOR, VISUAL"
Specifies the editor to use when composing messages.
If both EDITOR and VISUAL are set, VISUAL takes precedence.
If neither EDITOR nor VISUAL are set, the default is
.BR vi (1).
.IP "EGDSOCKET, RANDFILE"
Paths used to initialize the random engine for SSL library.
.IP "EMAIL"
The user's e-mail address.
.IP "HOME"
Full path of the user's home directory.
.IP "MAIL"
Full path of the user's spool mailbox.
.IP "MAILDIR"
Full path of the user's spool mailbox if MAIL is unset.
Commonly used when the spool mailbox is a
.BR maildir (5)
folder.
.IP "MAILCAPS"
Path to search for mailcap files.
.IP "MM_NOASK"
If this variable is set, mailcap are always used without prompting first.
.IP "PGPPATH"
Directory in which the user's PGP public keyring can be found.
When used with the original PGP program, mutt and
.BR mutt_pgpring (1)
rely on this being set.
.IP "REPLYTO"
Default Reply-To address.
.IP "TMPDIR"
Directory in which temporary files are created.
If unset, \fI/tmp\fP is used.
See also $tmpdir configuration variable.
.IP "LC_ALL, LC_CTYPE, LANG"
Used to determine charset and locale to use.
.IP TEXTDOMAINDIR
Directory containing translation files.
If set, this path overwrite the Mutt installation directory.
Used for testing translation changes.
.SH FILES
.TP
.I ~/.muttrc
.TQ
.I ~/.mutt/muttrc
.TQ
.I $XDG_CONFIG_HOME/mutt/muttrc
User configuration files.
.TP
.I /etc/Muttrc or /usr/share/mutt/Muttrc
System-wide configuration file.
.TP
.I /tmp/muttXXXXXX
Temporary files created by Mutt.
.TP
.I ~/.muttdebug0
File containing debugging output.
Log files are automatically rotated by \fBmutt\fP changing the number at the end.
See \fB\-d\fP option above.
.TP
.I ~/.mailcap
User definition for handling non-text MIME types.
.TP
.I /etc/mailcap
System definition for handling non-text MIME types.
.TP
.I ~/.mime.types
User's personal mapping between MIME types and file extensions.
.TP
.I /etc/mime.types
System mapping between MIME types and file extensions.
.TP
.I /usr/bin/mutt_dotlock
The privileged dotlocking program.
.TP
.I /usr/share/doc/mutt/manual.txt
The Mutt manual.
.SH BUGS
.PP
None.  Mutts have fleas, not bugs.
.SH FLEAS
.PP
Suspend/resume while editing a file with an external editor does not work
under SunOS 4.x if you use the curses lib in /usr/5lib.  It \fIdoes\fP work
with the S-Lang library, however.
.PP
Resizing the screen while using an external pager causes Mutt to go haywire
on some systems.
.PP
Suspend/resume does not work under Ultrix.
.PP
The help line for the index menu is not updated if you change the bindings
for one of the functions listed while Mutt is running.
.PP
For a more up-to-date list of bugs, errm, fleas, please visit the
mutt project's bug tracking system under https://gitlab.com/muttmua/mutt/issues.
.SH NO WARRANTIES
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
.SH SEE ALSO
.PP
.BR mutt_dotlock (1),
.BR mutt_pgpring (1),
.BR pgpewrap (1),
.BR sendmail (1),
.BR smail (1),
.BR smime_keys (1),
.BR curses (3),
.BR ncurses (3),
.BR mailcap (5),
.BR maildir (5),
.BR mbox (5),
.BR mmdf (5),
.BR muttrc (5)
.PP
Mutt Home Page: http://www.mutt.org/
.PP
The Mutt manual
.PP
RFC5322 \(em Internet Message Format: https://tools.ietf.org/rfcmarkup/5322
(obsoletes RFC2822 and RFC822)
.SH AUTHOR
.PP
Michael Elkins, and others.
Use <mutt-dev@mutt.org> to contact the developers.