Mail (Unix)

from Wikipedia, the free encyclopedia
mail

Mail-interface.png
Output of the mail program after entering the command ?
Basic data

Publishing year around 1970
operating system Unix , Unix derivatives
category e-mail
License free software

Mail is the traditional e-mail program from Unix , already in its first version of AT & T was included.

It is in the Mailutils of GNU contained and has at least under Debian the file path bin / usr / / mail. The associated mailboxes are usually located in at least System V and FreeBSD in the folder or Post Office / var / mail. The Unix shell usually automatically checks the mailbox of its user with mail and reports if necessary: You have mail.

You can just write mail on the command line to start the program. It then reads its user's mailbox into memory and displays the unread mails. When it is terminated with the quit command , it writes the mails that have not been deleted or read back to the mailbox and the read mails to a location called mbox in the user's home directory . This mailbox is traditionally a file, but it can also be a folder in the file system . The user's mailbox is a file with the same name as himself.

Its network protocols for sending are now out of date, so that a pipe to sendmail is used for this purpose , which can also mean another mail transfer agent .

With the Post Office Protocol (POP) and the Internet Message Access Protocol (IMAP), the version from GNU also masters common functions of a mail retrieval agent such as fetchmail .

Individual evidence

  1. a b c Mail . In: FreeBSD Man Pages . FreeBSD Project.
  2. Details of package mailutils in sid . Software in the Public Interest.
  3. Kurt Shoens, Craig Leres, Mark Andrews: Mail Reference Manual - Version 5.5 (PDF; 65 kB) FreeBSD Project. March 14, 1997.
  4. ^ GNU Mailutils . Free Software Foundation.