An
unknown HesiodNameType will yield this error when sendmail begins to run:
cannot initialize Hesiod map (hesiod error number)
Table 23-13. The hash database-map type K command switches
Switch ?§ Description
-A ?§23.3.1 on page 886 Append values for duplicate keys.
-a ?§23.3.2 on page 887 Append tag on successful match.
-D ?§23.3.3 on page 887 Don??™t use this database map if DeliveryMode=defer.
-f ?§23.3.4 on page 887 Don??™t fold keys to lowercase.
-m ?§23.3.7 on page 888 Suppress replacement on match.
-N ?§23.3.8 on page 889 Append a null byte to all keys.
-O ?§23.3.9 on page 889 Never add a null byte.
-o ?§23.3.10 on page 889 This database map is optional.
-q ?§23.3.11 on page 889 Don??™t strip quotes from key.
-S ?§23.3.12 on page 890 Space replacement character.
-T ?§23.3.13 on page 890 Suffix to append on temporary failure.
-t ?§23.3.14 on page 891 Ignore temporary errors.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
910 | Chapter 23: The K (Database-Map) Configuration Command
One example of a lookup might look like this:
Kuid2name hesiod uid
R$- $: $(uid2name $1 $)
Here, we declare the network database map uid2name using the Hesiod type uid, which
converts user-id numbers into login names. If the conversion was successful, we use the
login name returned; otherwise, we use the original workspace.
Pages:
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605