Table 26-16. smfi_ routines that only xxfi_eom() may call
Routine ?§ Flag required (see Table 26-11 on page 1195)
smfi_addheader ?§26.5.1 on page 1184 SMFIF_ADDHDRS
smfi_addrcpt ?§26.5.2 on page 1185 SMFIF_ADDRCPT
smfi_addrcpt_par ?§26.5.3 on page 1186 SMFIF_ADDRCPT_PAR
smfi_chgfrom ?§26.5.4 on page 1187 SMFIF_CHGFROM
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
1216 | Chapter 26: The X (Milters) Configuration Command
Note that the xxfi_eom() function will be called only if earlier xxfi_ functions for this envelope
have returned SMFIS_CONTINUE. Instead, the xxfi_abort() function will be called if
another Milter or sendmail has decided to reject, or temporally fail the current envelope,
outside the control of your Milter. Note that xxfi_eom() and xxfi_abort() are mutually
exclusive, meaning that if one is called the other will not be called. But if your Milter has
decided to reject, temp-fail, or discard the current envelope, neither will be called for that
particular envelope.
The xxfi_eom() function can return any of several values that determine the further
handling of the current envelope:
SMFIS_CONTINUE or SMFIS_ACCEPT
Accept the current envelope. Note that SMFIS_CONTINUE is the default return value if you
don??™t declare an end-of-message handler in smfiDesc (?§26.
Pages:
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191