At
such sites, one can bypass this restriction by placing the following special string in the /etc/
shells file:
/SENDMAIL/ANY/SHELL/
If, for some reason, you need to use a different string, you can do so by redefining
WILDCARD_SHELL in sendmail/conf.c.
If you enable arbitrary programs, you should also implement the sendmail restricted shell
smrsh. (See ?§10.8 on page 379 for a full description of smrsh.)
3.4.78 XDEBUG
Support sanity checks Debug with confENVDEF
In past releases of sendmail, changes in file descriptors and other key variables have sometimes
occurred for reasons that remain a mystery to this day. Small ???sanity checks??? have
been included in the code to discover such anomalies, should they happen again. To
exclude these checks, redefine XDEBUG to 0:
APPENDDEF(`confENVDEF??, `-DXDEBUG=0??)
Generally, however, XDEBUG should always remain enabled. It adds only a microscopic
amount of overhead to sendmail and helps to certify sendmail??™s rational behavior.
If sendmail??™s notion of who it is (as defined by the $j defined macro, ?§21.9.59 on page 830)
gets trashed by losing all its dots, sendmail will log the following at LOG_ALERT if
XDEBUG is defined, dump its state (?§14.1.5 on page 510), and abort(3):
daemon process $j lost dot; see syslog
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc.
Pages:
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299