The largest list, and the most types that makemap can support, will look like this:
dbm ?†? makemap compiled with NDBM defined
hash ?†? makemap compiled with NEWDB defined
btree ?†? makemap compiled with NEWDB defined
If in doubt, run makemap with this switch before trying to create a database file.
10.5.1.8 -N
Append a null byte to all keys makemap command-line switch
The -N switchtells makemap to include a trailing zero byte with each key that it adds to the
database. When sendmail looks up a key in the database, it uses a binary comparison. Some
databases, suchas /etc/aliases under SunOS, append a zero byte to eachkey. When a
trailing zero byte is included witha key, it must also be included withth e tokens being
looked up, or the lookup will fail. The use of this switch must matchth e K command
(?§23.3.8 on page 889).
10.5.1.9 -o
Append to, don??™t overwrite the file makemap command-line switch
Ordinarily, makemap overwrites any existing map withcompletely new information. The
-o switchcauses sendmail to append to a map. The appended information must be all new
information (no duplicate keys), unless the -r or the -d switch is also used.
10.5.1.10 -r
Replace (silently) duplicate keys makemap command-line switch
Ordinarily, it is an error to specify a key that already exists in a database. That is:
john john@host1
john john@host2
Here, instead of replacing the first with the second, the second john line produces an error.
Pages:
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676