neomutt(1)
π NAME π
okay bestie, welcome to the neomutt(1) page from User Manuals β aka the NeoMutt Mail User Agent (MUA) command-line tea. π
π οΈ SYNTAX π οΈ
hereβs the whole launch menu, literally:
neomutt [-Enx] [-e command] [-F config] [-H draft] [-i include]
[-b address] [-c address] [-s subject] [-a file] ... [--]
address ...
neomutt [-nx] [-e command] [-F config] [-b address] [-c address]
[-s subject] [-a file] ... [--] address ... < message
neomutt [-nRy] [-e command] [-F config] [-f mailbox] [-m type]
neomutt [-n] [-e command] [-F config] -A alias
neomutt [-n] [-e command] [-F config] -B
neomutt [-n] [-e command] [-F config] -D [-S] [-O]
neomutt [-n] [-e command] [-F config] -d level -l file
neomutt [-n] [-e command] [-F config] -G
neomutt [-n] [-e command] [-F config] -g server
neomutt [-n] [-e command] [-F config] -p
neomutt [-n] [-e command] [-F config] -Q variable [-O]
neomutt [-n] [-e command] [-F config] -Z
neomutt [-n] [-e command] [-F config] -z [-f mailbox]
neomutt -v[v]
no cap, thatβs the exact shape of every invocation. π«Ά
π«Ά DESCRIPTION π«Ά
NeoMutt 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. itβs giving iconic terminal mail main character energy. β¨
Note: This manual page gives a brief overview of NeoMutt's command line options. You should find a copy of the full manual in /usr/share/doc/packages/neomutt, in plain text, HTML, and/or PDF format.
π OPTIONS π
okay, options queen β every flag is here, no skipping, periodt.
--β Special argument forces NeoMutt to stop option parsing and treat remaining arguments as addresses even if they start with a dash-A aliasβ Print an expanded version of the given alias to stdout and exit-a fileβ Attach one or more files to a message (must be the last option). Add any addresses after the--argument, e.g.:
neomutt -a image.jpg -- address1
neomutt -a image.jpg *.png -- address1 address2
-Bβ Run in batch mode (do not start the ncurses UI)-b addressβ Specify a blind carbon copy (Bcc) recipient-Cβ Enable cryptographic operations in the cases in which they're disabled by default. Those include:- Batch mode.
- Sending a postponed message.
- Resending a message.
-c addressβ Specify a carbon copy (Cc) recipient-Dβ Dump all configuration variables asname=valuepairs to stdout-D -Oβ Like-D, but show one-liner documentation-D -Sβ Like-D, but hide the value of sensitive variables-d levelβ Log debugging output to a file (default is~/.neomuttdebug0). The level can range from 1β5 and affects verbosity (a value of 2 is recommended)
Using this option along with -l is useful to log the early startup process (before reading any configuration and hence $debug_level and $debug_file)
-Eβ Edit draft (-H) or include (-i) file during message composition-e commandβ Specify a command to be run after reading the config files-F configβ Specify an alternative initialization file to read, see FILES section below for a list of regular configuration files-f mailboxβ Specify a mailbox (as defined withmailboxescommand) to load-Gβ Start NeoMutt with a listing of subscribed newsgroups-g serverβ Like-G, but start at specified news server-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. 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.-hβ Print this help message and exit-i includeβ Specify an include file to be embedded in the body of a message-l fileβ Specify a file for debugging output (default~/.neomuttdebug0)
This overrules $debug_file setting and NeoMutt keeps up to five debug logs ({ file | $debug_file | ~/.neomuttdebug }[0-4]) before overriding the oldest file
-m typeβ Specify a default mailbox format type for newly created folders
The type is either MH, MMDF, Maildir or mbox (case-insensitive)
-nβ Do not read the system-wide configuration file-pβ Resume a prior postponed message, if any-Q variableβ Query a configuration variable and print its value to stdout (after the config has been read and any commands executed). Add-Ofor one-liner documentation.-Rβ Open mailbox in read-only mode-s subjectβ Specify a subject (must be enclosed in quotes if it has spaces)-vβ Print the NeoMutt version and compile-time definitions and exit-vvβ Print the NeoMutt license and copyright information and exit-yβ Start NeoMutt with a listing of all defined mailboxes-Zβ Open the first mailbox with new message or exit immediately with exit code 1 if none is found in all defined mailboxes-zβ Open the first or specified (-f) mailbox if it holds any message or exit immediately with exit code 1 otherwise
π ENVIRONMENT π
these are the shell-side vibes NeoMutt peeks at, bestie:
EDITORβ Specifies the editor to use ifVISUALis unset. Defaults to the Vi editor if unset.EGDSOCKETβ For OpenSSL since version 0.9.5, files, mentioned atRANDFILEbelow, can be Entropy Gathering Daemon (EGD) sockets. Also, and if exists,~/.entropyand/tmp/entropywill be used to initialize SSL library functions. Specified sockets must be owned by the user and have permission of600(octal number representing).EMAILβ The user's email address.HOMEβ Full path of the user's home directory.MAILβ Full path of the user's spool mailbox.MAILCAPSβ Path to search for mailcap files. If unset, a RFC1524 compliant search path that is extended with NeoMutt related paths (at position two and three):"$HOME/.mailcap:/usr/share/neomutt/mailcap:/etc/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap"will be used instead.MAILDIRβ Full path of the user's spool mailbox ifMAILis unset. Commonly used when the spool mailbox is amaildir(5)folder.MM_NOASKβ If this variable is set, mailcap are always used without prompting first.NNTPSERVERβ Similar to configuration variable$news_server, specifies the domain name or address of the default NNTP server to connect. If unset,/etc/nntpserveris used but can be overridden by command line option-g.RANDFILEβ Like configuration variable$entropy_file, defines a path to a file which includes random data that is used to initialize SSL library functions. If unset,~/.rndis used. DO NOT store important data in the specified file.REPLYTOβ When set, specifies the default Reply-To address.TEXTDOMAINDIRβ Defines an absolute path corresponding to/usr/share/localethat will be recognised by GNUgettext(1)and used for Native Language Support (NLS) if enabled.TMPDIRβ Directory in which temporary files are created. Defaults to/tmpif unset. Configuration variable$tmp_dirtakes precedence over this one.VISUALβ Specifies the editor to use when composing messages.XDG_CONFIG_DIRSβ Specifies a X Desktop Group (XDG) compliant location for the system-wide configuration file, as described in FILES section below. This variable defaults to/etc/xdg. Bypass loading with command line option-n.XDG_CONFIG_HOMEβ Specifies a XDG compliant location for the user-specific configuration file, as described in FILES section below. This variable defaults to$HOME/.config. Can be overridden by command line option-F.
πΈ FILES πΈ
π Configuration files π
Okay so here's the tea: NeoMutt reads just the first found configuration file from the system-wide category and just the first found one from the user-specific category, checking the list below in exactly that order. β¨
But plot twist β it also lets you build a recursive configuration by using the source command. Slay.
- #1 β system-wide:
$XDG_CONFIG_DIRS/neomutt/neomuttrcΒ· user-specific:$XDG_CONFIG_HOME/neomutt/neomuttrc - #2 β system-wide:
$XDG_CONFIG_DIRS/neomutt/Muttrc*)Β· user-specific:$XDG_CONFIG_HOME/neomutt/muttrc - #3 β system-wide:
/etc/neomuttrcΒ· user-specific:$XDG_CONFIG_HOME/mutt/neomuttrc - #4 β system-wide:
/etc/Muttrc*)Β· user-specific:$XDG_CONFIG_HOME/mutt/muttrc - #5 β system-wide:
/usr/share/neomutt/neomuttrcΒ· user-specific:~/.neomutt/neomuttrc - #6 β system-wide:
/usr/share/neomutt/Muttrc*)Β· user-specific:~/.neomutt/muttrc - #7 β system-wide:
βΒ· user-specific:~/.mutt/neomuttrc - #8 β system-wide:
βΒ· user-specific:~/.mutt/muttrc - #9 β system-wide:
βΒ· user-specific:~/.neomuttrc - #10 β system-wide:
βΒ· user-specific:~/.muttrc
*)Note the case of the filename β like, actually look at that capitalM, bestie. It matters. π
π¦ Other relevant files π¦
Unless otherwise stated, NeoMutt will process all grouped files in the order β from top to bottom β as they are specified in that listing. π«Ά
~/.mailcap,/etc/mailcapβ user-specific and system-wide definitions for handling non-text MIME types; look at environment variableMAILCAPSabove for additional search locations.~/.neomuttdebug0β the user's default debug log file. For further details or customising the file path, see command line options-dand-labove./etc/mime.types,/etc/mime.types,/usr/share/neomutt/mime.types,~/.mime.typesβ description files for simple plain text mapping between MIME types and filename extensions. NeoMutt parses these files in the stated order while processing attachments to determine their MIME type./usr/share/doc/packages/neomutt/manual.{html,pdf,txt}β the full NeoMutt manual in HTML, PDF or plain text format./tmp/neomutt-XXXX-XXXX-XXXXβ temporary files created by NeoMutt. For custom locations, look at the description of the environment variableTMPDIRabove. Notice that the suffix-XXXX-XXXX-XXXXis just a placeholder for, e.g. hostname, user name/ID, process ID and/or other random data. π
π BUGS π
See issue tracker at https://github.com/neomutt/neomutt/issues. If something's cursed, that's the spot. π
π« 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. Periodt. βοΈ
π― SEE ALSO π«Ά
Go check these icons: gettext(1), msmtp(1), notmuch(1), sendmail(1), smail(1), RAND_egd(3), curses(3), ncurses(3), mailcap(5), maildir(5), mbox(5), neomuttrc(5).
For further NeoMutt information:
- the full manual, see FILES section above
- the home page,
https://neomutt.org
π AUTHOR π
Richard Russon and friends. Use neomutt-devel@neomutt.org to contact the developers. π«‘
Source/version/date sign-off vibes: Unix, 2024-04-25, page neomutt(1) β bye bestie, go read your mail! π
β¨πΈ
π¦ where this page comes from
- opensuse-leap 16.0: neomutt 20240425-bp160.1.16 Β· GPL-2.0-or-later
- opensuse-leap 16.0: neomutt 20240425-bp160.1.16 Β· GPL-2.0-or-later
- opensuse-leap 16.0: neomutt 20240425-bp160.1.16 Β· GPL-2.0-or-later
- opensuse-leap 16.0: neomutt 20240425-bp160.1.16 Β· GPL-2.0-or-later
- Copyright (C) 2015-2024 Richard Russon <rich@flatcap.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms