For example, the name me@home will produce this error:
configfile: line num: readcf: map me: class home not available
23.2.2 The type
Recall that the type* portion of the K configuration command follows the name:
Kname type args
* Th esendmail source calls this class, but we chose type to make it clear that this is different from class
macros.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
23.2 The K Configuration Command | 883
Note that whitespace between the name and the type can be a joined indented line,
which allows commenting and improves readability:
Kname # Why this name
type # Why this type
args # and so on
The type declares which sort of database map to use. It must be one of the types
listed in Table 23-2.
Table 23-2. Possible K command types
Type ?§ Versions Description
arith ?§23.7.1 on page 898 V8.10 and later Perform arithmetic computations.
btree ?§23.7.2 on page 901 V8.1 and later A db(3) form of database.
bestmx ?§23.7.3 on page 902 V8.7 and later Look up the best MX record for a host.
dbm ?§23.7.4 on page 903 V8.1 and later Really ndbm supplied with most versions of Unix.
dequote ?§23.7.5 on page 904 V8.6 and later Remove quotation marks.
dns ?§23.7.6 on page 905 V8.12 and later Look up information using DNS.
hash ?§23.7.7 on page 908 V8.
Pages:
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557