Under Development
stars

Understanding Security#

First of all, NeoMutt contains no security holes included by intention but may contain unknown security holes. As a consequence, please run NeoMutt only with as few permissions as possible. Especially, do not run NeoMutt as the super user.

When configuring NeoMutt, there are some points to note about secure setups so please read this chapter carefully.

Passwords#

Although NeoMutt can be told the various passwords for accounts, please never store passwords in configuration files. Besides the fact that the system’s operator can always read them, you could forget to mask it out when reporting a bug or asking for help via a mailing list. Even worse, your mail including your password could be archived by internet search engines, mail-to-news gateways etc. It may already be too late before you notice your mistake.

Temporary Files#

NeoMutt uses many temporary files for viewing messages, verifying digital signatures, etc. As long as being used, these files are visible by other users and maybe even readable in case of misconfiguration. Also, a different location for these files may be desired which can be changed via the $tmp_dir variable.

Information Leaks#

Message-ID: Headers#

Since 2023-02-18 NeoMutt generates random Message-ID: headers, which do not leak any information beyond their randomness.

External Applications#

NeoMutt in many places has to rely on external applications or for convenience supports mechanisms involving external applications.

One of these is the mailcap mechanism as defined by RFC1524. Details about a secure use of the mailcap mechanisms is given in the mailcap section of the manual.

Besides the mailcap mechanism, NeoMutt uses a number of other external utilities for operation, for example to provide crypto support, in backtick expansion in configuration files or format string filters. The same security considerations apply for these as for tools involved via mailcap.