home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  

sendmail Desktop Reference

sendmail Desktop ReferenceSearch this book
Previous: 3.4 :include: Files and Mailing Lists Chapter 3
Next: 3.6 The K Command

3.5 The makemap Program

The makemap (1) program (part of sendmail 's source) is useful for producing database files. It supports the ndbm (3) form of database, and the hash and btree forms of the Berkeley db (3) database (see §33.2).


switches class database

The makemap (1) program reads from its standard input lines of text with the key preceding the value on each line. Output is to database file. The class is selected from dbm , btree , or hash . The switches are:


Allows duplicate keys. Without this switch, duplicate keys cause warnings to be printed (see §


Prevents (the default) folding of keys from upper- to lowercase (see §


Appends a null byte to all keys (see §


Prevents file from being truncated on open (2). In other words, append to, don't overwrite the file (see §


Replaces (silently) a duplicate key's value with the new value (see §


Sets verbose mode so that you can watch keys and data being added (see §

Previous: 3.4 :include: Files and Mailing Lists sendmail Desktop Reference Next: 3.6 The K Command
3.4 :include: Files and Mailing Lists   3.6 The K Command