MUTT(1)
๐ฆ NAME ๐ฆ
mutt โ The Mutt Mail User Agent. Yes bestie, it's a whole mail app, in your terminal. And it's from the User Manuals manual, page MUTT(1), so you already know it's legit. ๐
โจ SYNOPSIS โจ
Okay so here's every single way you can summon it. Don't skip, they all hit different:
mutt [-nRyzZ] [-e command] [-F rcfile] [-m type] [-f mailbox]
mutt [-Enx] [-e command] [-F rcfile] [-H draft] [-i include]
[-b bcc-addr] [-c cc-addr] [-s subject]
[-a file ... --] to-addr ...
mutt [-nx] [-e command] [-F rcfile] [-b bcc-addr] [-c cc-addr]
[-s subject] [-a file ... --] to-addr ... < message
mutt [-n] [-e command] [-F rcfile] -p
mutt [-n] [-e command] [-F rcfile] -A alias
mutt [-n] [-e command] [-F rcfile] -Q variable
mutt -v[v]
mutt -D
๐ธ DESCRIPTION ๐ธ
Mutt is a small but very powerful text based program for reading and sending electronic mail under unix operating systems. And it's not just a bare-bones thing either โ it's got support for color terminals, MIME, OpenPGP, and a threaded sorting mode. It's giving main character energy in like 300KB of binary. ๐ฅ
Note: This manual page gives a brief overview of themuttexecutable command line options. A copy of the full manual is located in/usr/share/doc/mutt, in text, HTML, and/or PDF format. Please refer to the manual to learn how to use and configure Mutt. (Translation: this page is the trailer, the manual is the whole movie. ๐ฌ)
๐ OPTIONS ๐
Every flag, no gatekeeping, periodt:
-Aalias โ Print an expanded version of the given alias and exit. Like a little x-ray for your aliases. ๐ฉป-afile ... โ Attach a file using MIME. Separating file and to-addr arguments with--is mandatory. For example:
mutt -a image.jpg -- to-addr
mutt -a img.jpg *.png -- to-addr-1 to-addr-2
The -a option must be placed at the end of command line options. No sneaking it in the middle, bestie, it's a strictly-end-of-the-line situation. ๐
โโ๏ธ
-bbcc-addr โ Specify a blind carbon copy (BCC) address. Secret lil recipient. ๐คซ-ccc-addr โ Specify a carbon copy (CC) address.-dlevel โ If Mutt was compiled with+DEBUG, log debugging output to~/.muttdebug0. Level can range from-5to5and 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 of2(-2) is recommended for most diagnosis. ๐-Dโ Print the value of all configuration options to stdout. Full config dump, no secrets. ๐-Eโ Edit the draft file specified by-Hor include file specified by-iduring message composition.-ecommand โ Specify a configuration command to be run after processing of initialization files.-fmailbox โ Specify a mailbox to load.-Frcfile โ Use rcfile instead of the user configuration file.-hโ Display a short option summary and exit. The "help me bestie" flag. ๐ซถ-Hdraft โ Specify a draft file which contains header and body to use to send a message. If draft is-, then data is read from stdin. The draft file is expected to contain just an RFC822 email โ headers and a body. Although it is not an mbox file, if an mbox"From "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. ๐-iinclude โ Specify an include file to be inserted into the body of a message. Ignored if-His set. If include is-, then data is read from stdin.-mtype โ Specify a default mailbox type for newly created folders. Can be one of the following:mbox,MMDF,MHorMaildir. See also$mbox_typein the manual.-nโ Do not read the system-wide Muttrc configuration file.-pโ Resume a postponed message. Exit immediately if there are no postponed messages. No postponed mail? She's leaving. ๐ช-Qvariable โ Query a configuration variable. The query is performed after all configuration files have been parsed, and any commands given on the command line have been executed.-Rโ Open a mailbox in read-only mode. Look but don't touch. โ-ssubject โ Specify the subject of the message. Must be enclosed in quotes if it contains spaces. Quote it or regret it.-vโ Display the Mutt version number and compile-time definitions.-vvโ Display license and copyright information. Double the v, double the legal lore. โ๏ธ-xโ Emulate themailx(1)compose mode.-yโ Start Mutt with a listing of all mailboxes specified by themailboxesconfiguration command.-zโ Exit immediately with code1if mailbox specified by-fdoes not contain any messages.-Zโ Open the first mailbox specified by themailboxesconfiguration command which contains new mail. Exit immediately with code1if there is no new mail in any of them.--โ Treat remaining arguments as to-addr even if they start with a dash. See also-aabove. To-addr can be a local or network mail address as well asmailto:URL. ๐ก๏ธ
๐ ENVIRONMENT ๐
The vibes your shell hands over before Mutt even wakes up:
EDITOR,VISUALโ Specifies the editor to use when composing messages. If bothEDITORandVISUALare set,VISUALtakes precedence. If neitherEDITORnorVISUALare set, the default isvi(1).VISUALis the older sibling who always wins the argument, apparently. ๐ญEGDSOCKET,RANDFILEโ Paths used to initialize the random engine for SSL library.EMAILโ The user's e-mail address.HOMEโ Full path of the user's home directory.MAILโ Full path of the user's spool mailbox.MAILDIRโ Full path of the user's spool mailbox ifMAILis unset. Commonly used when the spool mailbox is amaildir(5)folder.MAILCAPSโ Path to search for mailcap files.MM_NOASKโ If this variable is set, mailcap are always used without prompting first. No questions asked, literally. ๐PGPPATHโ Directory in which the user's PGP public keyring can be found. When used with the original PGP program,muttandmutt_pgpring(1)rely on this being set.REPLYTOโ Default Reply-To address.TMPDIRโ Directory in which temporary files are created. If unset,/tmpis used for$tmpdir, and/var/tmpis used for$tmpdraftdir. See also the$tmpdirand$tmpdraftdirconfiguration variables.LC_ALL,LC_CTYPE,LANGโ Used to determine charset and locale to use.TEXTDOMAINDIRโ Directory containing translation files. If set, this path overwrite the Mutt installation directory. Used for testing translation changes.
๐ FILES ๐
Where everything lives, iykyk:
~/.muttrc~/.mutt/muttrc$XDG_CONFIG_HOME/mutt/muttrc
User configuration files. Pick your fighter. ๐
/etc/Muttrcor/usr/share/mutt/Muttrcโ System-wide configuration file./tmp/muttXXXXXXโ Temporary files created by Mutt.~/.muttdebug0โ File containing debugging output. Log files are automatically rotated by mutt changing the number at the end. See-doption above.~/.mailcapโ User definition for handling non-text MIME types./etc/mailcapโ System definition for handling non-text MIME types.~/.mime.typesโ User's personal mapping between MIME types and file extensions./etc/mime.typesโ System mapping between MIME types and file extensions./usr/bin/mutt_dotlockโ The privileged dotlocking program. ๐ช/usr/share/doc/mutt/manual.txtโ The Mutt manual.
๐ BUGS ๐
None. Mutts have fleas, not bugs. That's the whole section. Iconic. ๐ถ
๐ FLEAS ๐
Okay so the bugs are called fleas and here's the whole flea circus:
- 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 does work with the S-Lang library, however. - Resizing the screen while using an external pager causes Mutt to go haywire on some systems. Haywire. That's the technical term, apparently.
- Suspend/resume does not work under Ultrix.
- 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.
- 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.
NOTE: The bug tracking system is not meant for feature requests. These should go to the mutt-dev mailing list, see section 1.2 Mailing Lists of the manual for details. Don't be the person who files a feature request as a bug, bestie, I'm begging. ๐
โ ๏ธ 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.
๐ SEE ALSO ๐
Go read your sisters, they ate:
mutt_dotlock(1), mutt_pgpring(1), pgpewrap(1), sendmail(1), smail(1), smime_keys(1), curses(3), ncurses(3), mailcap(5), maildir(5), mbox(5), mmdf(5), muttrc(5)
- Mutt Home Page: http://www.mutt.org/
- The Mutt manual
- RFC5322 โ Internet Message Format: https://tools.ietf.org/rfcmarkup/5322 (obsoletes RFC2822 and RFC822)
๐ AUTHOR ๐
Michael Elkins, and others. Use <mutt-dev@mutt.org> to contact the developers.
โจ and that's the whole page, bestie โจ
This one came out of the User Manuals manual, section Unix, on July 24, 2020, page MUTT(1). Screenshot it, bookmark it, send it to the group chat. ๐๐ฆ๐ธ
๐ฆ where this page comes from
- fedora 43: mutt 5:2.4.2-1.fc43
- fedora 43: mutt 5:2.4.3-1.fc43 ยท GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain
- fedora 44: mutt 5:2.4.2-1.fc44
- fedora 44: mutt 5:2.4.3-1.fc44 ยท GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain
- Copyright (C) 1996-2026 Michael R. Elkins <me@cs.hmc.edu>
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms