Therefore,
the following three command lines have the same effect, and none produces an
error:
-OQueueDirectory=/var/spool/mqueue
-Oqueuedirectory=/var/spool/mqueue
-OQuEuEdIrEcToRy=/var/spool/mqueue
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
950 | Chapter 24: The O (Options) Configuration Command
Multicharacter names are beneficial because they allow option names to have mnemonic
recognition. For example, the multicharacter name ForwardPath, which lists
the default path for ~/.forward files, is much more recognizable than the singlecharacter
name J.
If an unknown multicharacter option name is specified, the following is logged and
printed:
readcf: unknown option name bad name here
24.2.2.1 Multicharacter name shorthand
Beginning with V8.7, multicharacter names in the command line can be specified by
using the fewest unique leftmost characters in the name. For example, you can specify
the queue directory with the complete QueueDirectory long name:
% /usr/sbin/sendmail -OQueueDirectory=/var/spool/mqueue
But if you need to run this command line frequently,* you might find it handy to use
an abbreviation:
% /usr/sbin/sendmail -OQueueDir=/var/spool/mqueue
Option QueueDir used as abbreviation for QueueDirectory
Whenever a multicharacter name is abbreviated, sendmail prints a warning (the second
line in the preceding example) to discourage you from using abbreviations inside
your configuration file.
Pages:
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679