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
43 creates the database maps used by the keyed map lookups in
45 It reads input from the standard input
46 and outputs them to the indicated
49 Depending on how it is compiled,
51 handles different database formats,
65 This requires the new Berkeley DB
70 This also requires the Berkeley DB
74 CDB (Constant DataBase) format maps.
75 This requires the tinycdb library.
78 The first available format in the following order:
83 reads lines from the standard input consisting of two
84 words separated by white space.
85 The first is the database key,
86 the second is the value.
89 strings to indicate parameter substitution.
90 Literal percents should be doubled
92 Blank lines and lines beginning with ``#'' are ignored.
98 to create the aliases data base, but
100 which puts a special token into the data base that is required by
105 option is set in the sendmail configuration file and
107 is invoked as root, the generated files will be owned by
115 configuration file for looking up the TrustedUser option.
118 Include the null byte that terminates strings
120 This must match the \-N flag in the sendmail.cf
124 Use the specified hash and B-Tree cache size.
127 Use to specify the character to use to indicate a comment (which is ignored)
128 instead of the default of '#'.
131 Allow duplicate keys in the map.
132 This is only allowed on B-Tree format maps.
133 If two identical keys are read,
134 they will both be inserted into the map.
137 Allow empty value (right hand side).
140 Normally all upper case letters in the key
141 are folded to lower case.
142 This flag disables that behaviour.
143 This is intended to mesh with the
147 The value is never case folded.
150 Use the specified type as fallback
156 List supported map types.
159 Append to an old file.
160 This allows you to augment an existing file.
161 Note: this might not be supported by all database types,
165 Allow replacement of existing keys.
168 complains if you repeat a key,
169 and does not do the insert.
172 Ignore safety checks on maps being created.
173 This includes checking for hard or symbolic
174 links in world writable directories.
177 Use the specified delimiter instead of white space
178 (also for dumping a map).
181 dump (unmap) the content of the database to standard output.
184 Verbosely print what it is doing.
187 makemap hash /etc/mail/access < /etc/mail/access
189 sendmail(8), newaliases(1)