34.2 Configuration-File OptionsBeginning with version 8.7 sendmail , configuration-file options may use multicharacter option names. Prior to version 8.7, only single characters were allowed. We describe the old form first, then the new. 34.2.1 Pre-V8.7 Configuration-File DeclarationsThe old form for an option command in the sendmail.cf file is
OX
Like all configuration commands,
the uppercase letter 34.2.2 V8.7 Configuration File DeclarationsBeginning with version 8.7, option names may be single-character or multicharacter. A space is used to differentiate between single-character and multicharacter (long) names:
O LongName=argument beginning with V8.7 a space (not a tab)
Whenever the
O QueueDirectory=/var/tmp O queuedirectory=/var/tmp O QuEuEdIrEcToRy=/var/tmp
There may be optional space (not tab) characters surrounding the
O QueueDirectory = /var/tmp spaces, not tabs Multicharacter names in the configuration file must not be abbreviated or expressed in shorthand:
O QueueDirectory=/var/spool/mqueue good O QueueDir=/var/spool/mqueue bad
Failure to use the full multicharacter name will
cause
sendmail
to print spurious warnings every time it is run.
The possible warnings are listed in
Section 34.1.2.1, "Multicharacter name shorthand"
.
Multicharacter names are beneficial because they allow option names to have
mnemonic recognition.
For example, the multicharacter name |
|