Heirloom mailx 12.1 reviewDownload
Heirloom mailx (formerly known as "nail") is derived from Berkeley Mail and provides the functionality of the System V and POSIX mail
Heirloom mailx (formerly known as "nail") is derived from Berkeley Mail and provides the functionality of the System V and POSIX mailx commands.
Here are some key features of "Heirloom mailx":
Derived from Berkeley Mail 8.1. An interface like the original Berkeley one is still optionally available.
Is a free implementation of the System V mailx command and features an interface like that by default.
Is intended to comply to the mailx command specifications of IEEE Std 1003.2-1992 (POSIX.2) and IEEE Std 1003.1-2004 with XSI extensions (SUSv3).
Supports the MIME specifications. Mailx can send and receive attachments and code and decode international character strings. If the system libraries provide appropriate support, conversion between different character encodings is performed. In combination with a UTF-8 terminal, nearly all international languages are supported. External converter programs can be automatically invoked e. g. to view messages in HTML format.
Supports IMAP. In combination with either OpenSSL or Mozilla NSS, IMAPS can also be used. With IMAP, folder hierarchies can be stored and managed on remote servers. This is particularly useful for people who use more than one computer to access their mail. Of course, it is also possible to use IMAP just for fetching mails and storing them locally.
Supports caching and disconnected operation of IMAP folders. This speeds up operation while in online mode. It also makes it possible to transparently view and edit IMAP mailboxes without an active connection to the server.
Supports POP3 to read messages on a remove server. In combination with OpenSSL or NSS, POP3S can also be used. Mailx can read and delete individual messages, thus POP3 accounts can almost be accessed like local mail folders.
Supports SMTP to send messages directly to a remote server. A local sendmail interface setup is thus not necessary. In combination with OpenSSL or NSS, both the STARTTLS method and SMTPS can be used. SMTP AUTH is also supported.
Supports S/MIME for signed and encrypted email (in combination with OpenSSL or NSS).
In combination with NSS, certificates for S/MIME and SSL/TLS can be shared with Mozilla applications, and can be managed using them.
Can display message threads and supports operations on them. This is especially useful for handling mailing lists. It is also possible to sort messages by various other criteria.
Provides a Bayesian junk mail filter mostly according to Paul Graham's article “Better Bayesian Filtering”. Chained tokens according to Jonathan A. Zdziarski's “Advanced Language Classification using Chained Tokens” can optionally be used.
Features a lot of detail improvements over previous implementations of Mail/mailx, such as IMAP-style search methods and flags for any types of folders, killing and scoring of messages, maildir folder support, an option to set the From: address directly, and the generation of References: header fields to avoid annoyances on mailing lists.
Can be used as a mail batch language in nearly the same way as it is used interactively. So it is possible to use mailx as a mailbox filter, for fetching mails, or for sending files as attachments.
Is extensively described in its manual page mailx(1), which provides both introductory material and complete reference documentation.
What's New in This Release:
The base64 encoder also used an invalid encoding for the last unit of data if (bytes_of_input % 3 == 1). As with the previous similar bug, most base64 decoders, including mailx's own, ignore such bits since base64 data is always a multiple of 8-bit bytes. (Patch by Lukasz Stelmach.)
Quotes are now placed around the "protocol" parameter in S/MIME headers in accordance to RFC 2045 (Marco Arioli, Jeffrey Stedfast).
The conversion of messages in state-dependent encodings has been fixed; garbage characters could be inserted because the state was not properly reset when a buffer was enlarged (patch by Matthew Fischer).
A warning about an initalization of an unsigned value to -1 has been eliminated (patch by Matthew Sienkiewicz).
Percent characters in the "prompt" variable are now handled correctly; values of "folder" beginning with an at character and longer than the maximum system path length do not cause a heap overflow anymore (patch by Ulf Harnhammar).
Heirloom mailx 12.1 search tags