Whether
a given xxfi_ function will return SMFIS_NOREPLY or not is set in the xxfi_negotiate()
function (?§26.6.12 on page 1220). Note that your Milter must negotiate this behavior with its
xxfi_negotiate() function (?§26.6.12 on page 1220) to check whether the protocol action
SMFIP_NOREPLY is available and, if so, request it.
Table 26-15. xxfi_ Milter Routines listed in logical order
Macro ?§ Description
xxfi_negotiate ?§26.6.12 on page 1220 Change your Milter??™s relationship with sendmail dynamically at runtime
(V8.14 and later)
xxfi_connect() ?§26.6.4 on page 1209 Called once, upon initial connection by the sending site to the listening
sendmail daemon
Table 26-14. Values of type sfsistat that xxfi_ functions may return (continued)
sfsistat return value Description
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
1206 | Chapter 26: The X (Milters) Configuration Command
Note that before you can build a Milter that contains xxfi_ functions, you need to
include the correct header file:
#include
Finally, note that the location of this #include file is determined when you build
sendmail (?§26.1.2 on page 1171). Here we use the default location.
26.6.1 Milter xxfi_abort()
Handle envelope abort All Milter versions
As long as all your envelope-oriented xxfi_ functions return SMFIS_CONTINUE, the Milter
library guarantees that either your xxfi_eom() or xxfi_abort() function will be called.
Pages:
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171