In suchcases,
nagling may be turned off by defining the TCP_NODELAY sockets option.
If you wishto turn off nagling for sendmail??™s communication withits Milters, you may do
so by defining the following, and then rebuilding sendmail:
APPENDDEF(`conf_sendmail_ENVDEF??, `-DMILTER_NO_NAGLE=1??)
By default, nagling is turned on for communication withMilters because turning it off does
not improve performance on all operating systems.
Table 26-2. Macros to tune how sendmail and libmilter are built
Macro ?§ Means
SM_CONF_POLL ?§26.1.4 on page 1172 Use poll(2) instead of select(2) in the Milter library (V8.13 and later).
MILTER_NO_NAGLE ?§26.1.5 on page 1172 Turn off Nagle algorithm with Milters inside sendmail (V8.14 and later).
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
26.2 Add Configuration Support | 1173
26.2 Add Configuration Support
The sendmail program won??™t use Milters unless you configure it to do so. EachMilter
you use must be declared using the sendmail X configuration command. After
that, other configuration commands define the order in which Milters are called
(?§26.2.2 on page 1177) or associate eachMilter witha particular listening daemon
(?§26.2.3 on page 1178).
26.2.1 The X Configuration Command
When the MILTER Build-time macro is enabled, sendmail offers a way to submit
messages to external programs that can be used to screen messages for spam indicators,
viruses, or other content that you might want to reject, defer, or quarantine.
Pages:
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111