Linux in a Nutshell, Third Edition
by Ellen Siever, Stephen Spainhour, Jessica P. Hekman, Stephen Figgins
Name
makemap
Synopsis
makemap [options] type name
Description
System administration command. Transfer from standard input to sendmail’s database maps. Input should be formatted as:
key value
You may comment lines with #, may substitute parameters with %n, and must escape literal % by entering it as %%. The type must be dbm, btree, or hash. The name is a filename to which makemap appends standard suffixes.
Options
- -d
Allow duplicate entries. Valid only with btree type maps.
- -f
Suppress conversion of uppercase to lowercase.
- -N
Append a zero byte to each key.
- -o
Append to existing file instead of replacing it.
- -r
If some keys already exist, replace them. (By default, makemap will exit when encountering a duplicated key.)
- -s
Ignore safety checks.
- -v
Verbose mode.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access