The database files created by makemap are given a default permission of 0644 (readable/
writeable by owner, readable by everyone else). Beginning withV8.12.4 sendmail,
the default permission has been changed to 0640. If you wish to tighten the
default to 0600, you can do so by defining the DBMMODE compile-time macro
when building makemap:
APPENDDEF(`conf_makemap_ENVDEF??, `-DDBMMODE=0600??)
You can, of course, use this compile-time macro to loosen the default permissions,
but looser permissions are discouraged because they open the door to a possible
denial-of-service attack on the local machine.
10.5.1 makemap Command-Line Switches
The command-line switches for makemap must precede the dbtype and the outfile:
makemap switches dbtype outfile
Switches are single characters, prefixed with a - character. Switches can also be
combined:
-N -o ?†? good
-No ?†? also good
The complete list of switches is shown in Table 10-6. (See getopt(3) for additional
information about the way switches are handled.)
Table 10-6. makemap program??™s switches
Switch ?§ Description
-c ?§10.5.1.1 on page 372 Set the cache size for hash and btree.
-C ?§10.5.1.2 on page 372 Use an alternative sendmail configuration file.
-d ?§10.5.1.3 on page 372 Allow duplicate keys in database.
-D ?§10.5.1.4 on page 373 Define alternative to # as comment character (V8.
Pages:
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671