1 .\" Copyright (c) 1998-2002 Proofpoint, Inc. and its suppliers.
2 .\" All rights reserved.
3 .\" Copyright (c) 1988, 1991, 1993
4 .\" The Regents of the University of California. All rights reserved.
6 .\" By using this file, you agree to the terms and conditions set
7 .\" forth in the LICENSE file which can be found at the top level of
8 .\" the sendmail distribution.
11 .\" $Id: makemap.8,v 8.32 2013-11-22 20:51:52 ca Exp $
13 .TH MAKEMAP 8 "$Date: 2013-11-22 20:51:52 $"
16 \- create database maps for sendmail
41 creates the database maps used by the keyed map lookups in
43 It reads input from the standard input
44 and outputs them to the indicated
47 Depending on how it is compiled,
49 handles different database formats,
63 This requires the new Berkeley DB
68 This also requires the Berkeley DB
72 CDB (Constant DataBase) format maps.
73 This requires the tinycdb library.
76 The first available format in the following order:
81 reads lines from the standard input consisting of two
82 words separated by white space.
83 The first is the database key,
84 the second is the value.
87 strings to indicate parameter substitution.
88 Literal percents should be doubled
90 Blank lines and lines beginning with ``#'' are ignored.
96 to create the aliases data base, but
98 which puts a special token into the data base that is required by
103 option is set in the sendmail configuration file and
105 is invoked as root, the generated files will be owned by
113 configuration file for looking up the TrustedUser option.
116 Include the null byte that terminates strings
118 This must match the \-N flag in the sendmail.cf
122 Use the specified hash and B-Tree cache size.
125 Use to specify the character to use to indicate a comment (which is ignored)
126 instead of the default of '#'.
129 Allow duplicate keys in the map.
130 This is only allowed on B-Tree format maps.
131 If two identical keys are read,
132 they will both be inserted into the map.
135 Allow empty value (right hand side).
138 Normally all upper case letters in the key
139 are folded to lower case.
140 This flag disables that behaviour.
141 This is intended to mesh with the
145 The value is never case folded.
148 List supported map types.
151 Append to an old file.
152 This allows you to augment an existing file.
153 Note: this might not be supported by all database types,
157 Allow replacement of existing keys.
160 complains if you repeat a key,
161 and does not do the insert.
164 Ignore safety checks on maps being created.
165 This includes checking for hard or symbolic
166 links in world writable directories.
169 Use the specified delimiter instead of white space
170 (also for dumping a map).
173 dump (unmap) the content of the database to standard output.
176 Verbosely print what it is doing.
179 makemap hash /etc/mail/access < /etc/mail/access
181 sendmail(8), newaliases(1)