How the sendmail Program Works

The following sections describe how the sendmail program works.

When a sender wants to send a message, the program issues a request to sendmail. The sendmail program then goes through the steps listed below, which are described in detail in the following sections.

1.
Arguments are processed and the address is then parsed.
2.
The message is collected.
3.
The message is delivered.
4.
If instructions are received from the mailer, the message is queued for retransmission.
5.
If errors occur during processing, the message is returned to the sender.

Argument Processing and Address Parsing

If sendmail is called by means of the argument vector or is connected to through a pipe, the arguments are first scanned and ...

Get Solaris™ 8 Advanced System Administrator's Guide, Third 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.