The first line shows the single-character name form (the X) and the second
line shows the multicharacter name form (the {Name}).
The name of the class is immediately followed by the key to look up in the database
map. Note that you must be very careful to specify a key that actually exists. If the
key is not found in the database map, sendmail silently ignores the error.
The key is immediately followed by a literal @ character, which in turn is immediately
followed by the type of the database map. A db-type database map, for example,
could have a type of either hash or btree. An ldap-type database map, for
example, would have a type of ldap. (We discuss ldap in detail in the next section.) A
complete list of types can be found in the leftmost column of Table 23-2 on
page 883.
The type is immediately followed by a colon and then by the detail. The nature of
the detail varies depending on what you want this command to do. To illustrate,
consider the following addition to an mc configuration file:
LOCAL_CONFIG
FwCWhosts@hash:/etc/mail/access
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
860 | Chapter 22: The C and F (Class Macro) Configuration Commands
Here, under the LOCAL_CONFIG part of the mc file, we place an F configuration
command. The class that will be filled with values is the $=w class (?§22.
Pages:
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517