File: makemap.0

package info (click to toggle)
sendmail 8.9.3-3slink1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 4,744 kB
  • ctags: 2,997
  • sloc: ansic: 40,418; perl: 2,044; sh: 1,466; makefile: 319
file content (63 lines) | stat: -rw-r--r-- 2,787 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
MAKEMAP(8)                BSD System Manager's Manual               MAKEMAP(8)

NNAAMMEE
     mmaakkeemmaapp - create database maps for sendmail

SSYYNNOOPPSSIISS
     mmaakkeemmaapp [--NN] [--dd] [--ff] [--oo] [--rr] [--ss] [--vv] _m_a_p_t_y_p_e _m_a_p_n_a_m_e

DDEESSCCRRIIPPTTIIOONN
     mmaakkeemmaapp creates the database maps used by the keyed map lookups in
     sendmail(8).  It reads input from the standard input and outputs them to
     the indicated _m_a_p_n_a_m_e.

     Depending on how it is compiled, mmaakkeemmaapp handles up to three different
     database formats, selected using the _m_a_p_t_y_p_e parameter.  They may be

     dbm         DBM format maps.  This requires the ndbm(3) library.

     btree       B-Tree format maps.  This requires the new Berkeley DB li-
                 brary.

     hash        Hash format maps.  This also requires the Berkeley DB li-
                 brary.

     In all cases, mmaakkeemmaapp reads lines from the standard input consisting of
     two words separated by white space.  The first is the database key, the
     second is the value.  The value may contain ``%_n'' strings to indicated
     parameter substitution.  Literal percents should be doubled (``%%'').
     Blank lines and lines beginning with ``#'' are ignored.

   FFllaaggss

     --NN          Include the null byte that terminates strings in the map.
                 This must match the -N flag in the sendmail.cf ``K'' line.

     --dd          Allow duplicate keys in the map.  This is only allowed on B-
                 Tree format maps.  If two identical keys are read, they will
                 both be inserted into the map.

     --ff          Normally all upper case letters in the key are folded to low-
                 er case.  This flag disables that behaviour.  This is intend-
                 ed to mesh with the -f flag in the KK line in sendmail.cf.
                 The value is never case folded.

     --oo          Append to an old file.  This allows you to augment an exist-
                 ing file.

     --rr          Allow replacement of existing keys.  Normally mmaakkeemmaapp com-
                 plains if you repeat a key, and does not do the insert.

     --ss          Ignore safety checks on maps being created.  This includes
                 checking for hard or symbolic links in world writable direc-
                 tories.

     --vv          Verbosely print what it is doing.

SSEEEE AALLSSOO
     sendmail(8)

HHIISSTTOORRYY
     The mmaakkeemmaapp command appeared in 4.4BSD.

4.4BSD                         November 16, 1992                             1