Prev | Current Page 243 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

aliases
Here, $(YPDBDIR)/ is usually /var/yp/, so the substring is found. When the substring /yp/ is
found, sendmail augments the aliases database withtwo special entries that are needed by
nis:
YP_LAST_MODIFIED
YP_MASTER_NAME
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
3.4 Compile-Time Macro Reference | 129
These allow the newly built aliases file to be successfully distributed for use by nis clients.
Without these entries you will see an error such as the following when pushing your nis
maps:
Status received from ypxfr on nisslave:
Failed - no local order number in map - use -f flag to ypxfr.
The solution here is to rebuild sendmail with both NDBM and NIS defined.
Defining NIS also causes support to be included for declaring and using nis-type maps
(?§23.2.2 on page 882) with the K configuration command.
Note that defining NIS without also defining NAMED_BIND will cause delivery to MX
records to mysteriously fail.
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 NIS support is included
(if it appears in the list, support is included).
3.4.36 NISPLUS
Support for nisplus database maps Tune with confMAPDEF
If you intend to have sendmail support nisplus maps, you need to define NISPLUS in your
Build m4 file (the use of nisplus aliases and other maps is determined by the /etc/
nsswitch.


Pages:
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255
życzenia ślubne gustowne meble katowice felgi aluminiowe poznań katalog firm katalog stron