This guide is organized in five phases:
An introduction that parallels the introductory material in the second edition of this book. This phase is intended to give you a general overview of sendmail, its parts, modes, roles, and files.
How to download, build, and install sendmail. If you don't already have the latest version running on your machine, you might have to undertake this step first. This phase steps you through the basic installation.
The meat and potatoes of sendmail are its rules and rule sets. In this phase, we introduce the concept of rules, show how to use them, and provide real-world examples of how to employ them in your own configuration file.
In this phase we first provide an overview of the configuration file, which is central to managing sendmail, then delve down to some of its key components. By the end of this phase you will understand most of the important parts of the configuration file.
To create your own configuration file, you must use the m4 processor. This final phase shows how to use m4 and the steps necessary to create a configuration file using it. We finish with a tour of the many configuration FEATURE( ) commands available.
If you wish to continue after finishing this guide, we recommend you read the chapters in Part II of the book first, then the chapters in Part I.
Describes the fundamental nature of email
Describes the difference between an MUA and an MTA and shows how sendmail fits into that picture
Gives an overview of sendmail, including its various parts and their relationship to the configuration file
Shows how to run sendmail by hand, and then describes the parts of an email message: the header, body, and envelope
Illustrates sendmail's roles: in the filesystem; with aliasing; managing the queue; performing local delivery; and delivering over the network
Shows how to run sendmail, how to kill and restart sendmail, and the various modes of sendmail, such as printing the queue, and rebuilding aliases
Presents a brief overview of the sendmail configuration file
Describes how and where to download the sendmail source
Shows how to compile from the source using the Build utility
Describes how to install sendmail
Shows how to declare rule sets and how rules fit under each rule set
Provides an overview of why rules are necessary
Describes the parts of a rule and how rules act like little if-then clauses
Describes what tokens are, and how rules are tokenized
Illustrates the workspace, and how the workspace is processed by rules
Shows many actual rule sets and describes them in detail
Provides a total overview of the configuration file
Describes sendmail macros and how they fit in the configuration file
Describes class macros and how they fit in the configuration file
Describes database macros and how they fit in the configuration file
Describes delivery agents and how they fit in the configuration file
Describes options and how they fit in the configuration file
Describes the queue and how the queue fits into the configuration file
Describes the m4 processor and how to use it
Presents an overall picture of how to configure with m4
Shows how to insert your own rules and rule sets with m4
Shows how to declare delivery agents with m4
Shows how to declare and tune options with m4
Lists and describes all the FEATURE( ) macros available, and the value and use of each