Also see Table 3-6 on page 119 to see how to use these to find the load
average.
/etc/shells
A user is not allowed to run programs from a .forward file unless that user has a valid
login shell (?§13.8.4 on page 504). Nor is a user allowed to save mail directly to files
without a valid shell. To determine whether the login shell is valid, sendmail calls
getusershell(3). If sendmail was defined without the HASGETUSERSHELL compiletime
macro defined, it instead tries to look up the shell in the /etc/shells file. If that file
cannot be opened, sendmail gets valid shell names from an internal list called
DefaultUserShells that is defined in sendmail/conf.c. The _PATH_SHELLS compiletime
macro can be used to change the location of the /etc/shells file.
There is no debugging flag that will display the defaults for these file locations. If any are of
concern, you should build sendmail yourself.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
3.4 Compile-Time Macro Reference | 133
3.4.41 PH_MAP
Support for PH maps Tune with confMAPDEF
Prior to V8.10 sendmail, redirecting email witha ph server required running the phquery
program. Beginning withV8.10 sendmail, a new database class called ph has been added
that allows sendmail to perform direct ph queries. The use of ph maps is described in
?§23.
Pages:
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263