1 | |
---|
2 | |
---|
3 | |
---|
4 | MAKEMAP(8) MAKEMAP(8) |
---|
5 | |
---|
6 | |
---|
7 | NNAAMMEE |
---|
8 | makemap - create database maps for sendmail |
---|
9 | |
---|
10 | SSYYNNOOPPSSIISS |
---|
11 | mmaakkeemmaapp [--CC _f_i_l_e] [--NN] [--cc _c_a_c_h_e_s_i_z_e] [--dd] [--ee] [--ff] [--ll] |
---|
12 | [--oo] [--rr] [--ss] [--tt _d_e_l_i_m] [--uu] [--vv] _m_a_p_t_y_p_e _m_a_p_n_a_m |
---|
13 | |
---|
14 | DDEESSCCRRIIPPTTIIOONN |
---|
15 | MMaakkeemmaapp creates the database maps used by the keyed map |
---|
16 | lookups in sendmail(8). It reads input from the standard |
---|
17 | input and outputs them to the indicated _m_a_p_n_a_m_e_. |
---|
18 | |
---|
19 | Depending on how it is compiled, mmaakkeemmaapp handles up to |
---|
20 | three different database formats, selected using the _m_a_p_- |
---|
21 | _t_y_p_e parameter. They may be |
---|
22 | |
---|
23 | dbm DBM format maps. This requires the ndbm(3) |
---|
24 | library. |
---|
25 | |
---|
26 | btree B-Tree format maps. This requires the new Berkeley |
---|
27 | DB library. |
---|
28 | |
---|
29 | hash Hash format maps. This also requires the Berkeley |
---|
30 | DB library. |
---|
31 | |
---|
32 | In all cases, mmaakkeemmaapp reads lines from the standard input |
---|
33 | consisting of two words separated by white space. The |
---|
34 | first is the database key, the second is the value. The |
---|
35 | value may contain ``%_n'' strings to indicate parameter |
---|
36 | substitution. Literal percents should be doubled |
---|
37 | (``%%''). Blank lines and lines beginning with ``#'' are |
---|
38 | ignored. |
---|
39 | |
---|
40 | Notice: do nnoott use mmaakkeemmaapp to create the aliases data |
---|
41 | base, but nneewwaalliiaasseess which puts a special token into the |
---|
42 | data base that is required by sseennddmmaaiill.. |
---|
43 | |
---|
44 | If the _T_r_u_s_t_e_d_U_s_e_r option is set in the sendmail configu- |
---|
45 | ration file and mmaakkeemmaapp is invoked as root, the generated |
---|
46 | files will be owned by the specified _T_r_u_s_t_e_d_U_s_e_r_. |
---|
47 | |
---|
48 | FFllaaggss |
---|
49 | --CC Use the specified sseennddmmaaiill configuration file for |
---|
50 | looking up the TrustedUser option. |
---|
51 | |
---|
52 | --NN Include the null byte that terminates strings in |
---|
53 | the map. This must match the -N flag in the send- |
---|
54 | mail.cf ``K'' line. |
---|
55 | |
---|
56 | --cc Use the specified hash and B-Tree cache size. |
---|
57 | |
---|
58 | --dd Allow duplicate keys in the map. This is only |
---|
59 | allowed on B-Tree format maps. If two identical |
---|
60 | keys are read, they will both be inserted into the |
---|
61 | |
---|
62 | |
---|
63 | |
---|
64 | $Date: 2003-04-08 15:09:30 $ 1 |
---|
65 | |
---|
66 | |
---|
67 | |
---|
68 | |
---|
69 | |
---|
70 | MAKEMAP(8) MAKEMAP(8) |
---|
71 | |
---|
72 | |
---|
73 | map. |
---|
74 | |
---|
75 | --ee Allow empty value (right hand side). |
---|
76 | |
---|
77 | --ff Normally all upper case letters in the key are |
---|
78 | folded to lower case. This flag disables that |
---|
79 | behaviour. This is intended to mesh with the -f |
---|
80 | flag in the KK line in sendmail.cf. The value is |
---|
81 | never case folded. |
---|
82 | |
---|
83 | --ll List supported map types. |
---|
84 | |
---|
85 | --oo Append to an old file. This allows you to augment |
---|
86 | an existing file. |
---|
87 | |
---|
88 | --rr Allow replacement of existing keys. Normally |
---|
89 | mmaakkeemmaapp complains if you repeat a key, and does not |
---|
90 | do the insert. |
---|
91 | |
---|
92 | --ss Ignore safety checks on maps being created. This |
---|
93 | includes checking for hard or symbolic links in |
---|
94 | world writable directories. |
---|
95 | |
---|
96 | --tt Use the specified delimiter instead of white space. |
---|
97 | |
---|
98 | --uu dump (unmap) the content of the database to stan- |
---|
99 | dard output. |
---|
100 | |
---|
101 | --vv Verbosely print what it is doing. |
---|
102 | |
---|
103 | SSEEEE AALLSSOO |
---|
104 | sendmail(8), newaliases(1) |
---|
105 | |
---|
106 | HHIISSTTOORRYY |
---|
107 | The mmaakkeemmaapp command appeared in 4.4BSD. |
---|
108 | |
---|
109 | |
---|
110 | |
---|
111 | |
---|
112 | |
---|
113 | |
---|
114 | |
---|
115 | |
---|
116 | |
---|
117 | |
---|
118 | |
---|
119 | |
---|
120 | |
---|
121 | |
---|
122 | |
---|
123 | |
---|
124 | |
---|
125 | |
---|
126 | |
---|
127 | |
---|
128 | |
---|
129 | |
---|
130 | $Date: 2003-04-08 15:09:30 $ 2 |
---|
131 | |
---|
132 | |
---|