h file does not define uid_t and gid_t,
define this compile-time macro as zero:
APPENDDEF(`confENVDEF??, `-DSM_CONF_UID_GID=0??)
SM_HEAP_CHECK
When porting or tuning, you might find it desirable to turn on memory-leak detection
by defining this compile-time macro:
APPENDDEF(`confENVDEF??, `-DSM_HEAP_CHECK=1??)
See ?§3.4.54 on page 142 for a full description of this compile-time macro.
SM_IO_MIN_BUF, SM_IO_MAX_BUF, and SM_IO_MAX_BUF_FILE
The stat(3) C-language library routine returns a structure containing the variable st_
blksize. That variable contains as its value the optimum block size to use for disk I/O.
When porting, if that variable fails to contain a useful value, you can define three
compile-time macros as a substitute. The SM_IO_MIN_BUF macro defines the minimum
disk I/O size:
APPENDDEF(`confENVDEF??, `-DSM_IO_MIN_BUF=512??)
The SM_IO_MAX_BUF macro defines the maximum disk I/O size:
APPENDDEF(`confENVDEF??, `-DSM_IO_MAX_BUF=4096??)
The SM_IO_MAX_BUF_FILE macro defines the maximum file I/O size:
APPENDDEF(`confENVDEF??, `-DSM_IO_MAX_BUF_FILE=2048??)
To see whether any of these compile-time macros are defined with your sendmail
binary, use the -d0.12 debugging command-line switch.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
142 | Chapter 3: Tune sendmail with Compile-Time Macros
3.
Pages:
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279