Mail/News Clients

Mail Clients help you retrieve (Fetchmail), sort (Procmail), read and compose responses (Heirloom mailx, Mutt, Pine, Kmail, Balsa, Evolution, SeaMonkey) to email.

News clients also help you retrieve, sort, read and compose responses, but these messages travel through USENET (a worldwide bulletin board system) using the Network News Transfer Protocol (NNTP).

Heirloom mailx-12.0

Introduction to Heirloom mailx

The Heirloom mailx package (formerly known as the Nail package) contains mailx, a command-line Mail User Agent derived from Berkeley Mail which is intended to provide the functionality of the POSIX mailx command with additional support for MIME messages, IMAP (including caching), POP3, SMTP, S/MIME, message threading/sorting, scoring, and filtering. Heirloom mailx is especially useful for writing scripts and batch processing.

Package Information

Heirloom mailx Dependencies


OpenSSL-0.9.8d or NSS-3.11.3, Heimdal-0.7.2 or MIT Kerberos V5-1.6 (for IMAP GSSAPI authentication), and an MTA

User Notes:

Installation of Heirloom mailx

Install Heirloom mailx by running the following commands.

make SENDMAIL=/usr/sbin/sendmail

This package does not come with a test suite.

Now, as the root user:

make PREFIX=/usr UCBINSTALL=/usr/bin/install install &&
ln -v -sf mailx /usr/bin/mail &&
ln -v -sf mailx /usr/bin/nail &&
install -v -m755 -d /usr/share/doc/mailx-12.0 &&
install -v -m644 README mailx.1.html /usr/share/doc/mailx-12.0

Command Explanations

make SENDMAIL=/usr/sbin/sendmail: This changes the default MTA path of /usr/lib/sendmail.

make PREFIX=/usr UCBINSTALL=/usr/bin/install install: This changes the default installation path of /usr/local and the default install command path of /usr/ucb.

Configuring Heirloom mailx

Config Files

/etc/nail.rc, ~/.mailrc and ~/.nailrc


Installed Programs: mail, mailx and nail
Installed Libraries: None
Installed Directories: None

Short Descriptions


is a command-line mail user agent compatible with the mailx command found on commercial Unix versions.


is a symbolic link to mailx.


is a symbolic link to mailx.

Last updated on 2007-01-18 13:38:19 -0600