4 on page 892), the -m switchprevents those multiple names
from wrongly replacing the single hostname in the key. Note that the -a switch(?§23.3.2 on
page 887) can still be used to append a suffix to a successful lookup. Also, the $:default
(?§23.4.1 on page 893) is still used if the lookup fails.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
23.3 The K Command Switches | 889
23.3.8 -N
Append a null byte to all keys V8.1 and later
If a database was created with makemap??™s -N switch(?§10.5.1.8 on page 374) to include the
terminating zero byte witheachkey, this -N switch should be specified with the corresponding
K configuration command to force all lookups to also include a zero byte. Note
that -N is not needed for the nis type and, if included, is ignored. See also -O in ?§23.3.9 on
page 889.
23.3.9 -O
Never add a null byte V8.2 and later
If neither -N nor -O is specified, sendmail uses an adaptive algorithm to decide whether to
look for the terminating zero byte. The algorithm starts by accepting either possibility. If
the first key looked up is found to end with a terminating zero byte, the algorithm will
thereafter look only for keys with a terminating zero byte. If the first key that is looked up
is found to not end with a terminating zero byte, the algorithm will thereafter look only for
keys without a terminating zero byte.
Pages:
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568