About Electronic Mail
As with regular postal mail, a properly functioning electronic-mail system depends on a series of distinct and often geographically-separated facilities and processes working together. Typically, each of these parts is handled by one or more programs specifically designed to perform the corresponding tasks.
In general, on Unix systems, the electronic mail facility is composed of the following components:
- Programs that allow users to read and write mail messages
In the jargon, such programs are known as mail user agents . There are a variety of such programs available, ranging from the traditional (and primitive)
mail
command to character-based, menu-driven programs such aselm
,mutt
,pine
, and themh
family, to Internet-integrated packages such as Netscape (some users also prefer the mail facilities embedded within their favorite editor, such asemacs
). These programs require only a little administrative time and attention, usually consisting of setting system-wide defaults for the various packages.- Programs that accept outgoing email (submission agents), send it along its way, and begin the delivery process
Delivering mail to its final destination is the responsibility of mail transport agents , which relay mail messages within a site or out onto the Internet toward their final destinations. Transport agents run as daemons, and they generally use the directory /var/spool/mqueue as a work queue to hold messages waiting for processing.
sendmail
is the traditional ...
Get Essential System Administration, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.