Mail/News Clients

Mail Clients help you retrieve (Fetchmail), sort (Procmail), read and compose responses (Nail, Mutt, Pine, Kmail, Balsa, Evolution, Mozilla) 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).


Introduction to Nail

The Nail package contains nail, 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. Nail is especially useful for writing scripts and batch processing.

Package Information

Nail Dependencies


OpenSSL-0.9.7g or Mozilla NSS (from Mozilla-1.7.8 or Firefox-1.0.6 or Thunderbird-1.0.6), Heimdal-0.7 or MIT krb5-1.4.1 (for IMAP GSSAPI authentication) and MTA

Installation of Nail

Install Nail 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 install UCBINSTALL=/usr/bin/install &&
ln -v -sf nail /usr/bin/mail &&
ln -v -sf nail /usr/bin/mailx

Command Explanations

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

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

Configuring Nail

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 mail command found on commercial Unix versions.


is a symbolic link to nail.


is a symbolic link to nail.

Last updated on 2005-08-01 13:29:19 -0600