Prev | Current Page 284 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

7.27 on page 942) is code inside sendmail that allows sender and
recipient addresses to be rewritten under the control of an external database. This code is
automatically included in sendmail when you define NEWDB or HESIOD:
APPENDDEF(`confMAPDEF??, `-DNEWDB??) ?†? automatically include User Database code
APPENDDEF(`confMAPDEF??, `-DHESIOD??) ?†? automatically include User Database code
If you don??™t want to include support for the User Database, you need to specifically turn it
off by setting USERDB to 0:
APPENDDEF(`confMAPDEF??, `-DUSERDB=0??)
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
3.4 Compile-Time Macro Reference | 151
See the UDB_DEFAULT_SPEC compile-time macro (?§3.4.71 on page 149) for a method to
set a default for the database location.
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 USERDB support is
included (if it appears in the list, support is included).
3.4.76 USESETEUID
Support seteuid(2) identity changes Port, edit sendmail/conf.h
To perform most kinds of delivery in a safe manner, sendmail must be able to change its
root identity to that of another user, deliver as that user, and then restore its identity to
root. The preferred method for doing this is with the V1 POSIX seteuid(2) routine.


Pages:
272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296
żetony do pokera śmieszne dowcipy bajka Connie Talbot dakolen