| < Day Day Up > |
Mail servers provide Internet users with electronic mail services. They have their own TCP/IP protocols such as the Simple Mail Transfer Protocol (SMTP), the Post Office Protocol (POP), and the Internet Mail Access Protocol (IMAP). Messages are sent across the Internet through mail servers that service local domains. A
domain
can be seen as a subnet of the larger Internet, with its own server to handle mail messages sent from or received for users on that subnet. When a
At each stage, a different type of operation takes place using different agents (programs). A mail user agent (MUA) is a mail client program, such as mail or Elm. With an MUA, a user composes a mail message and sends it. Then a mail transfer agent (MTA) transports the messages over the Internet. MTAs are mail servers that use SMTP to send messages across the Internet from one mail server to another, transporting them among subnets. On Linux and Unix systems, the commonly used MTA is Sendmail, a mail server daemon that constantly checks for incoming messages from other mail servers and sends outgoing messages to appropriate servers. Other MTAs becoming more popular are Postfix, Exim, Courier, and Qmail (see Table 24-1). Incoming messages received by a mail server are distributed to a user with mail delivery
|
Agent |
Description |
|---|---|
|
Sendmail |
Sendmail mail transfer agent
|
|
Postfix |
Fast, easy to configure, and secure mail transfer agent compatible with Sendmail and designed to replace it
|
|
Qmail |
Fast, flexible, and secure MTA with its own implementation and competitive with Postfix
|
|
Exim |
MTA based on smail3
|
|
Courier |
Courier MTA
|
|
Mail Transport Agent Switcher |
Red Hat tool to let you switch between using Sendmail and Postfix (Mail Transport Agent Switcher in System Settings menu and window) |
| < Day Day Up > |
| < Day Day Up > |
Red Hat Linux automatically
Courier is a fast, small, and secure MTA that maintains some compatibility with Sendmail. The Courier software package also includes POP, IMAP, and webmail servers along with mailing list services. It supports
Qmail is also a fast and secure MTA, but it has little compatibility with Sendmail. It has its own configuration and maintenance files. Like Postfix, it has a modular design, using a different program for each mail task. It also focuses on security, speed, and easy configuration.
| Note |
Messages sent within a single standalone system require a loopback interface. Most Linux distributions, including Red Hat, do this automatically for you during the installation process. A loopback interface enables your system to address itself, allowing it to send and receive mail to and from itself. A loopback interface uses the hostname localhost and a special IP address reserved for use by local systems, 127.0.0.1. You can examine your /etc/hosts file to see if your loopback interface has been configured as the local host. You should see 127.0.0.1 localhost listed as the first entry. |
| < Day Day Up > |