8). If your system can
use setreuid(2), you can take advantage of it by defining HASSETREUID in sendmail/conf.h
(or include/sm/conf.h for V8.12 and above).
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
152 | Chapter 3: Tune sendmail with Compile-Time Macros
No matter which you define, be sure to read sendmail/README for possible pitfalls. Note
that HASSETREUID and USESETEUID are correctly defined for all currently supported
systems. You need to define one only if you are porting sendmail to a completely new
system.
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 discover whether HASSETREUID or
USESETEUID support is included (if either appears in the list, support is included). New
ports should be reported to sendmail@sendmail.org so that they can be folded into future
releases.
3.4.77 WILDCARD_SHELL
Redefine wildcard shell Debug, edit sendmail/conf.c
Ordinarily, sendmail prohibits a user from running programs from inside a ~/.forward file
unless that user also has a valid login shell. This restriction is in place to prevent the typical
user from running any arbitrary program on a main mail server. Some sites prefer to allow
users to run arbitrary programs despite the restriction about logging into the mail server.
Pages:
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298