4.8.1.1 Declare trusted users (ignored V8.1 through V8.6)
Trusted users are defined by those lines in the sendmail.cf file that begin with the
uppercase letter T. Only trusted users can use the sendmail program??™s -f commandline
switch to specify who sent the message. Beginning with V8.7 sendmail, the class
t can also be used.
The T sendmail.cf command must begin a line. One or more space-delimited usernames
then follow on that same line. There can be multiple T commands in a sendmail.
cf file, each adding names to the list of trusted users. Prior to V8 there could be,
at most, MAXTRUST trusted users, where MAXTRUST was defined in conf.h when you compiled
sendmail. Beginning with V8.7, there is no limit:
T uucp ?†? legal in V8.1 through V8.6 but ignored
Troot daemon ?†? legal in V8.1 through V8.6 but ignored
Ct uucp ?†? ignored pre-V8.7
Ctroot daemon ?†? ignored pre-V8.7
define(`confTRUSTED_USERS??,`root daemon??) ?†? V8.7 and above in mc file
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
4.8 Security Features | 175
The two T commands show that there might optionally be whitespace between the T
and the first name in any list of names. They indicate that uucp, root, and daemon are
trusted and have been added to the list of trusted users in that order.
Pages:
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338