- [-nRyzZ] [-e command] [-F rcfile] [-m type] [-f mailbox]
- [-Enx] [-e command] [-F rcfile] [-H
draft] [-i include]
[-b bcc-addr] [-c cc-addr] [-s subject]
[-a file ... --] to-addr ...
- [-nx] [-e command] [-F rcfile] [-b
bcc-addr] [-c cc-addr]
[-s subject] [-a file ... --] to-addr ... < message
- [-n] [-e command] [-F rcfile] -p
- [-n] [-e command] [-F rcfile] -A alias
- [-n] [-e command] [-F rcfile] -Q variable
Note: This manual page gives a brief overview of the mutt executable 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.
- -A alias
- Print an expanded version of the given alias and exit.
- -a file ...
- 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.
- -b bcc-addr
- Specify a blind carbon copy (BCC) address.
- -c cc-addr
- Specify a carbon copy (CC) address.
- -d level
- If Mutt was compiled with +DEBUG log debugging output to ~/.muttdebug0. Level can range from 1-5 and effects verbosity. A value of 2 is recommended.
- Print the value of all configuration options to stdout.
- Edit the draft file specified by -H or include file specified by -i during message composition.
- -e command
- Specify a configuration command to be run after processing of initialization files.
- -f mailbox
- Specify a mailbox to load.
- -F rcfile
- Use rcfile instead of the user configuration file.
- Display a short option summary and exit.
- -H draft
- Specify a draft file which contains header and body to use to send a message. If draft is “-”, then data is read from stdin.
- -i include
- Specify an include file to be inserted into the body of a message. Ignored if -H is set. If include is “-”, then data is read from stdin.
- -m type
- Specify a default mailbox type for newly created folders. Can be one of the following: mbox, MMDF, MH or Maildir. See also $mbox_type in the manual.
- Do not read the system-wide Muttrc configuration file.
- Resume a postponed message. Exit immediately if there are no postponed messages.
- -Q variable
- 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.
- Open a mailbox in read-only mode.
- -s subject
- Specify the subject of the message. Must be enclosed in quotes if it contains spaces.
- Display the Mutt version number and compile-time definitions.
- Display license and copyright information.
- Emulate the mailx(1) compose mode.
- Start Mutt with a listing of all mailboxes specified by the mailboxes configuration command.
- Exit immediately with code 1 if mailbox specified by -f does not contain any messages.
- Open the first mailbox specified by the mailboxes configuration command which contains new mail. Exit immediately with code 1 if there is no new mail in any of them.
- Treat remaining arguments as to-addr even if they start with a dash. See also -a above. To-addr can be a local or network mail address as well as mailto: URL.
- 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 vi(1).
- EGDSOCKET, RANDFILE
- Paths used to initialize the random engine for SSL library.
- The user's e-mail address.
- Full path of the user's home directory.
- Full path of the user's spool mailbox.
- Full path of the user's spool mailbox if MAIL is unset. Commonly used when the spool mailbox is a maildir(5) folder.
- Path to search for mailcap files.
- If this variable is set, mailcap are always used without prompting first.
- Directory in which the user's PGP public keyring can be found. When used with the original PGP program, mutt and mutt_pgpring(1) rely on this being set.
- Default Reply-To address.
- Directory in which temporary files are created. If unset, /tmp is used. See also $tmpdir configuration variable.
- LC_ALL, LC_CTYPE, LANG
- Used to determine charset and locale to use.
- Directory containing translation files. If set, this path overwrite the Mutt installation directory. Used for testing translation changes.
- User configuration files.
- System-wide configuration file.
- Temporary files created by Mutt.
- File containing debugging output. Log files are automatically rotated by mutt changing the number at the end. See -d option above.
- User definition for handling non-text MIME types.
- System definition for handling non-text MIME types.
- User's personal mapping between MIME types and file extensions.
- System mapping between MIME types and file extensions.
- The privileged dotlocking program.
- The Mutt manual.
Resizing the screen while using an external pager causes Mutt to go haywire on some systems.
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.
Mutt Home Page: http://www.mutt.org/
The Mutt manual
|July 24, 2020||Unix|