Class Configuration Commands
The five forms for the class configuration command are the following:
CX list ← values from configuration file CX $=Y ← copy values from another class (V8.10 and later) FX /file ← values from a disk file FX |program ← values via another program FX key@database ← values from a database map (V8.12 and later)
The class configuration command starts with either the letter
C
or the letter
F
, which must
begin a line. The C
says
values will be assigned as a part of the configuration
command. The F
says
values will be assigned from an external file, program, or
database map.
The C
or F
is immediately followed
(with no intervening whitespace) by the name of the class
(the X
in the preceding
commands). A class name is any single ASCII character or,
beginning with V8.7 sendmail, a
multicharacter name enclosed in curly braces:
CX list ← all versions C{LongName} list ← beginning with V8.7
See Multicharacter Names on page 790 for a full discussion of how to use multicharacter names.
Note that classes are separate from macros, so they can both use the same letter or name with no conflict.
The sendmail program reserves the lowercase letters for its own use as internally defined class names. All uppercase letters and all names that begin with uppercase letters are available for your use.
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.