1MUTT(1) User Manuals MUTT(1)
2
3
4
6 mutt - The Mutt Mail User Agent
7
9 mutt [-nRyzZ] [-e command] [-F rcfile] [-m type] [-f mailbox]
10
11 mutt [-Enx] [-e command] [-F rcfile] [-H draft] [-i include]
12 [-b bcc-addr] [-c cc-addr] [-s subject]
13 [-a file ... --] to-addr ...
14
15 mutt [-nx] [-e command] [-F rcfile] [-b bcc-addr] [-c cc-addr]
16 [-s subject] [-a file ... --] to-addr ... < message
17
18 mutt [-n] [-e command] [-F rcfile] -p
19
20 mutt [-n] [-e command] [-F rcfile] -A alias
21
22 mutt [-n] [-e command] [-F rcfile] -Q variable
23
24 mutt -v[v]
25
26 mutt -D
27
29 Mutt is a small but very powerful text based program for reading and
30 sending electronic mail under unix operating systems, including support
31 for color terminals, MIME, OpenPGP, and a threaded sorting mode.
32
33 Note: This manual page gives a brief overview of the mutt executable
34 command line options. A copy of the full manual is located in
35 /usr/share/doc/mutt, in text, HTML, and/or PDF format. Please refer to
36 the manual to learn how to use and configure Mutt.
37
39 -A alias
40 Print an expanded version of the given alias and exit.
41
42 -a file ...
43 Attach a file using MIME. Separating file and to-addr arguments
44 with “--” is mandatory. For example:
45
46 mutt -a image.jpg -- to-addr
47 mutt -a img.jpg *.png -- to-addr-1 to-addr-2
48
49 The -a option must be placed at the end of command line options.
50
51 -b bcc-addr
52 Specify a blind carbon copy (BCC) address.
53
54 -c cc-addr
55 Specify a carbon copy (CC) address.
56
57 -d level
58 If Mutt was compiled with +DEBUG log debugging output to
59 ~/.muttdebug0. Level can range from 1-5 and effects verbosity.
60 A value of 2 is recommended.
61
62 -D Print the value of all configuration options to stdout.
63
64 -E Edit the draft file specified by -H or include file specified by
65 -i during message composition.
66
67 -e command
68 Specify a configuration command to be run after processing of
69 initialization files.
70
71 -f mailbox
72 Specify a mailbox to load.
73
74 -F rcfile
75 Use rcfile instead of the user configuration file.
76
77 -h Display a short option summary and exit.
78
79 -H draft
80 Specify a draft file which contains header and body to use to
81 send a message. If draft is “-”, then data is read from stdin.
82
83 -i include
84 Specify an include file to be inserted into the body of a mes‐
85 sage. Ignored if -H is set. If include is “-”, then data is
86 read from stdin.
87
88 -m type
89 Specify a default mailbox type for newly created folders. Can
90 be one of the following: mbox, MMDF, MH or Maildir. See also
91 $mbox_type in the manual.
92
93 -n Do not read the system-wide Muttrc configuration file.
94
95 -p Resume a postponed message. Exit immediately if there are no
96 postponed messages.
97
98 -Q variable
99 Query a configuration variable. The query is performed after
100 all configuration files have been parsed, and any commands given
101 on the command line have been executed.
102
103 -R Open a mailbox in read-only mode.
104
105 -s subject
106 Specify the subject of the message. Must be enclosed in quotes
107 if it contains spaces.
108
109 -v Display the Mutt version number and compile-time definitions.
110
111 -vv Display license and copyright information.
112
113 -x Emulate the mailx(1) compose mode.
114
115 -y Start Mutt with a listing of all mailboxes specified by the
116 mailboxes configuration command.
117
118 -z Exit immediately with code 1 if mailbox specified by -f does not
119 contain any messages.
120
121 -Z Open the first mailbox specified by the mailboxes configuration
122 command which contains new mail. Exit immediately with code 1
123 if there is no new mail in any of them.
124
125 -- Treat remaining arguments as to-addr even if they start with a
126 dash. See also -a above. To-addr can be a local or network
127 mail address as well as mailto: URL.
128
130 EDITOR, VISUAL
131 Specifies the editor to use when composing messages. If both
132 EDITOR and VISUAL are set, VISUAL takes precedence. If neither
133 EDITOR nor VISUAL are set, the default is vi(1).
134
135 EGDSOCKET, RANDFILE
136 Paths used to initialize the random engine for SSL library.
137
138 EMAIL The user's e-mail address.
139
140 HOME Full path of the user's home directory.
141
142 MAIL Full path of the user's spool mailbox.
143
144 MAILDIR
145 Full path of the user's spool mailbox if MAIL is unset. Com‐
146 monly used when the spool mailbox is a maildir(5) folder.
147
148 MAILCAPS
149 Path to search for mailcap files.
150
151 MM_NOASK
152 If this variable is set, mailcap are always used without prompt‐
153 ing first.
154
155 PGPPATH
156 Directory in which the user's PGP public keyring can be found.
157 When used with the original PGP program, mutt and
158 mutt_pgpring(1) rely on this being set.
159
160 REPLYTO
161 Default Reply-To address.
162
163 TMPDIR Directory in which temporary files are created. If unset, /tmp
164 is used. See also $tmpdir configuration variable.
165
166 LC_ALL, LC_CTYPE, LANG
167 Used to determine charset and locale to use.
168
169 TEXTDOMAINDIR
170 Directory containing translation files. If set, this path over‐
171 write the Mutt installation directory. Used for testing trans‐
172 lation changes.
173
175 ~/.muttrc
176 ~/.mutt/muttrc
177 $XDG_CONFIG_HOME/mutt/muttrc
178 User configuration files.
179
180 /etc/Muttrc
181 System-wide configuration file.
182
183 /tmp/muttXXXXXX
184 Temporary files created by Mutt.
185
186 ~/.muttdebug0
187 File containing debugging output. Log files are automatically
188 rotated by mutt changing the number at the end. See -d option
189 above.
190
191 ~/.mailcap
192 User definition for handling non-text MIME types.
193
194 /etc/mailcap
195 System definition for handling non-text MIME types.
196
197 ~/.mime.types
198 User's personal mapping between MIME types and file extensions.
199
200 /etc/mime.types
201 System mapping between MIME types and file extensions.
202
203 /usr/bin/mutt_dotlock
204 The privileged dotlocking program.
205
206 /usr/share/doc/mutt/manual.txt
207 The Mutt manual.
208
210 None. Mutts have fleas, not bugs.
211
213 Suspend/resume while editing a file with an external editor does not
214 work under SunOS 4.x if you use the curses lib in /usr/5lib. It does
215 work with the S-Lang library, however.
216
217 Resizing the screen while using an external pager causes Mutt to go
218 haywire on some systems.
219
220 Suspend/resume does not work under Ultrix.
221
222 The help line for the index menu is not updated if you change the bind‐
223 ings for one of the functions listed while Mutt is running.
224
225 For a more up-to-date list of bugs, errm, fleas, please visit the mutt
226 project's bug tracking system under https://git‐
227 lab.com/muttmua/mutt/issues.
228
230 This program is distributed in the hope that it will be useful, but
231 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
232 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
233 Public License for more details.
234
236 mutt_dotlock(1), mutt_pgpring(1), pgpewrap(1), sendmail(1), smail(1),
237 smime_keys(1), curses(3), ncurses(3), mailcap(5), maildir(5), mbox(5),
238 mmdf(5), muttrc(5)
239
240 Mutt Home Page: http://www.mutt.org/
241
242 The Mutt manual
243
245 Michael Elkins, and others. Use <mutt-dev@mutt.org> to contact the
246 developers.
247
248
249
250Unix July 24, 2020 MUTT(1)