In the default mode, it transmits a mail to an SMTP server (for example at a free mail provider) which does the delivery.
To use this program with your mail user agent (MUA), create a configuration file with your mail account(s) and tell your MUA to call msmtp instead of /usr/sbin/sendmail.
In addition to sendmail mode, there are two other modes of operation:
· Server information mode. In this mode, msmtp prints as much information as it can get about a given SMTP server (supported features, maximum mail size, ...).
· Remote Message Queue Starting mode. In this mode, msmtp sends a Remote Message Queue Starting request for a host, domain, or queue to a given SMTP server.
Normally, a system wide configuration file and/or a user configuration file contain information about which SMTP server to use and how to use it, but almost all settings can also be configured on the command line.
The information about SMTP servers is organized in accounts. Each account describes one SMTP server: host name, TLS settings, authentication settings, and so on. Each configuration file can define multiple accounts.
Optional features, depending on external libraries (see the file INSTALL for
usage instructions):
· TLS/SSL support
You need either GnuTLS >= 1.2.0 or OpenSSL >= 0.9.6 for TLS/SSL support. It is also possible to disable TLS/SSL support entirely.
· Additional authentication methods
The built-in authentication code supports the PLAIN, LOGIN, CRAM-MD5, and EXTERNAL mechanisms. When GNU SASL support is enabled, some or all of the mechanisms EXTERNAL, GSSAPI, DIGEST-MD5, CRAM-MD5, PLAIN, LOGIN, and NTLM are available, depending on the compile-time options used for libgsasl. GNU SASL >= 0.2.4 is required.
· Native language support (NLS)
On systems other than GNU/Linux, you need GNU gettext if you want NLS.
· Sendmail compatible interface (command line options and exit codes).
· Authentication methods PLAIN, LOGIN, CRAM-MD5, DIGEST-MD5, GSSAPI, and NTLM.
· TLS/SSL both in SMTP-over-SSL mode and in STARTTLS mode. Full certificate trust checks can be performed. A client certificate can be sent.
· Fast SMTP implementation using command pipelining.
· Support for Internationalized Domain Names (IDN).
· DSN (Delivery Status Notification) support.
· RMQS (Remote Message Queue Starting) support (ETRN keyword).
· IPv6 support.
· Support for multiple accounts.
What's New in This Release:
· This is a cleanup release that updates the build system and removes old cruft and unnecessary complexity, without changing the functionality of the program