Overall Syntax
The sendmail.cf file is line-oriented, with one configuration command per line. Each configuration command consists of a single letter[1] 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 17-1.
|
Command |
§ |
Version |
Description |
|
# |
All |
A comment line, ignored | |
|
space |
All |
Continue the previous line | |
|
tab |
All |
Continue the previous line | |
|
C |
All |
Define a class macro | |
|
D |
All |
Define a sendmail macro | |
|
E |
V8.7 and above |
Environment for agents | |
|
F |
All |
Define a class macro from a file or a pipe | |
|
H |
All |
Define a header | |
|
K |
V8.1 and above |
Create a keyed map entry | |
|
L |
Obsolete |
Extended load average | |
|
M |
All |
Define a mail delivery agent | |
|
O |
All |
Define an option | |
|
P |
All |
Define delivery priorities | |
|
Q |
V8.12 and above |
Declare queue groups | |
|
R |
All |
Define a transformation rule | |
|
S |
All |
Declare a rule-set start | |
|
T |
All |
Declare trusted users (ignored V8.1-V8.6) ... |
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