1.1
on page 104 for a guide to downloading these libraries).
If you are running a precompiled sendmail binary, you can use the -d0.1 debugging
command-line switch (?§15.7.1 on page 542) to determine whether NEWDB support is
included (if it appears in the list, support is included).
3.4.35 NIS
Support for nis database maps Tune with confMAPDEF
NIS stands for Network Information Services. If you intend to have sendmail support nis
(formerly Yellow Pages) maps, you need to define NIS witha line suchas the following in
your Build m4 file:
APPENDDEF(`confMAPDEF??, `-DNIS??)
If NIS is defined, the AliasFile option can be specified as:
OAnis:mail.aliases ?†? V8.6
O AliasFile=nis:mail.aliases ?†? V8.7 and above (if no service-switch file)
See ?§24.9.1 on page 970 for more details about the AliasFile option. See ?§24.9.108 on
page 1088 for a description of the ServiceSwitchFile option and its effect on nis aliases. Be
aware that the preceding AliasFile option declaration will override the lack of an nis entry
in the service-switch file.
NDBM also needs to be defined to allow sendmail to rebuild its alias files for use by nis:
APPENDDEF(`confMAPDEF??, `-DNIS -DNDBM??)
For this to work, the path of the alias file needs to contain the substring:
/yp/
A typical /var/yp/Makefile will contain a line such as this:
/usr/lib/sendmail -bi -oA$(YPDBDIR)/$(DOM)/mail.
Pages:
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254