Prev | Current Page 230 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

h qf filename length
MAXQUEUEGROUPS 50 sendmail/conf.h Number of queue groups (V8.12 and above)
MAXRESTOTYPES 3 sendmail/conf.h Number of resolver timeout types
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
122 | Chapter 3: Tune sendmail with Compile-Time Macros
Also see QUEUESEGSIZE (?§3.4.46 on page 136) and SYSLOG_BUFSIZE (?§3.4.64 on page
147) for a discussion of two other definitions that affect sizes.
Note that there are no debugging switches for displaying compiled maximums. If you are
running a binary distribution and a maximum is of concern, you should get the source and
build sendmail yourself.
Beginning withV8.12, sendmail offers several macros that slow down sendmail to prevent
certain types of attacks. They are listed in Table 3-8, which also shows their default
settings. Unlike the MAX... compile-time macros shown in Table 3-7, these can be tuned as
part of your Build m4 file. For example, to change the maximum number of NOOP SMTP
commands that can be received before sendmail slows itself down defensively, you can add
the following line to your Build m4 file:
APPENDDEF(`conf_sendmail_ENVDEF??, `-DMAXNOOPCOMMANDS=30??)
?†‘
increase from the default of 20
If any of these SMTP-limiting compile-time macros are defined with a zero value, the corresponding
check is disabled.


Pages:
218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
twarożek ze szczypiorkiem wydawnictwa Wczasy nad morzem Praca dla pielegniarek Biuro księgowe Lublin