See ?§4.2 on page 156 for a detailed discussion of this step.
6.4.2.2 Initialize sendmail macros
Certain sendmail macros are next declared and assigned values. The $w macro
(?§21.9.101 on page 850), $j macro (?§21.9.59 on page 830), and $=w class macro
(?§22.6.16 on page 876) are given values that identify the current host. The $m
macro (?§21.9.64 on page 833) is given a value that is the local domain name. The
$k macro (?§21.9.60 on page 831) and the $=k class (?§22.6.6 on page 872) are also
given values at this time. The $v macro (?§21.9.98 on page 849) is assigned a value
that is the current version of the sendmail program. The $b macro (?§21.9.9 on page
807) is given the current date and time as its value.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
228 | Chapter 6: The sendmail Command Line
6.4.3 Third: Processing Switches
Command-line switches are processed by sendmail as they appear in the command
line, from left to right. The processing of switches ends when an argument is found
that lacks a leading - character, or, beginning with V8, when a -- argument is found.
6.4.4 Fourth: Reading the Configuration File
The fact that the configuration file is read after the command-line switches are processed
can lead to some confusion. Some, but not all, command-line switches can
overwrite some configuration file commands.
Pages:
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429