mail (Unix)

{{Short description|Command-line email client for Unix}}

{{lowercase|mail (Unix)}}

{{Infobox software

| name = mail

| logo =

| screenshot =

| screenshot size =

| caption =

| author =

| developer = AT&T Bell Laboratories

| released = {{Start date and age|1971|11|3}}

| latest release version =

| latest release date =

| operating system = Unix, Unix-like, V

| genre = Command

| license =

| website =

}}

mail is a command-line email client for Unix and Unix-like operating systems.

History

"Electronic mail was there from the start", Douglas McIlroy writes in his article "A Research UNIX Reader: Annotated Excerpts from the Programmer’s Manual, 1971-1986",{{cite tech report |first1=M. D. |last1=McIlroy |authorlink1=Doug McIlroy |year=1987 |url=http://www.cs.dartmouth.edu/~doug/reader.pdf |title=A Research Unix reader: annotated excerpts from the Programmer's Manual, 1971–1986 |series=CSTR |number=139 |institution=Bell Labs}} and so a {{mono|mail}} command was included in the first released version of research Unix, First Edition Unix.{{cite web|url=https://www.bell-labs.com/usr/dmr/www/man12.pdf|title=UNIX Programmer's Manual|author1=K. Thompson|author2=D. M. Ritchie|date=November 3, 1971|at=MAIL (I)}}

This version of mail was capable to send (append) messages to the mailboxes of other users on the Unix system, and it helped managing (reading) the mailbox of the current user.

In 1978 Kurt Shoens wrote a completely new version of mail for BSD2, referred to as Berkeley Mail. Although initially installed at {{mono|/usr/ucb/Mail}}, (with the earlier Unix mail still available at {{mono|/bin/mail}}), on most modern Unix and Linux systems the commands {{mono|Mail}}, {{mono|mail}} and/or {{mono|mailx}} all invoke a descendant of this Berkeley Mail, which much later was the base for the standardization of a mail program by the OpenGroup, the POSIX standardized variant mailx.[http://pubs.opengroup.org/onlinepubs/9699919799/utilities/mailx.html POSIX standard entry][http://heirloom.sourceforge.net/mailx_history.html "mail, Mail, mailx, nail—history notes"], Heirloom Project

See also

References

{{Reflist}}