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)
mailcommand to character-based, menu-driven programs such aselm,mutt,pine, and themhfamily, 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.
sendmailis the traditional ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access