Overall Syntax
The sendmail.cf file is line-oriented, with one configuration command per line. Each configuration command consists of a single letter[233] that must begin a line. Each letter is followed by other information as required by the purpose of the particular command.
In addition to commands, the configuration file can also have
lines that begin with a #
to form a comment line, or with a tab or space character to
form a continuation line. A list of all legal characters
that can begin a line in the configuration file is shown in
Table 16-1.
Table 16-1. sendmail.cf configuration commands
Command |
§ |
Version |
Description |
---|---|---|---|
|
Comments on page 579 |
All |
A comment line, ignored. |
|
Continuation Lines on page 580 |
All |
Continue the previous line. |
|
Continuation Lines on page 580 |
All |
Continue the previous line. |
|
Class Configuration Commands on page 854 |
All |
Define a class macro. |
|
Configuration-File Definitions on page 787 |
All |
Define a sendmail macro. |
|
The E Configuration Command on page 156 |
V8.7 and above |
Environment for agents. |
|
Class Configuration Commands on page 854 |
All |
Define a class macro from a file or a pipe. |
|
Overview on page 1120 |
All |
Define a header. |
|
The K Configuration Command on page 882 |
V8.1 and above |
Create a keyed map entry. |
|
Obsolete |
Extended load average. | |
|
The M Configuration Command on page 711 |
All |
Define a mail delivery agent. |
|
Configuration File Options on page 952 |
All |
Define an option. |
|
Precedence on ... |
Get sendmail, 4th 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.