The xxfi_eom() function is the final function called for the current envelope. This is the last
opportunity for your Milter to deallocate envelope-specific allocations.
smfi_chgheader ?§26.5.5 on page 1188 SMFIF_CHGHDRS
smfi_delrcpt ?§26.5.6 on page 1189 SMFIF_DELRCPT
smfi_insheader ?§26.5.9 on page 1192 SMFIF_ADDHDRS
smfi_progress ?§26.5.12 on page 1193 No flags required.
smfi_quarantine ?§26.5.13 on page 1194 SMFIF_QUARANTINE
smfi_replacebody ?§26.5.15 on page 1196 SMFIF_CHGBODY
Table 26-16. smfi_ routines that only xxfi_eom() may call (continued)
Routine ?§ Flag required (see Table 26-11 on page 1195)
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
26.6 xxfi_ Routine Reference | 1217
26.6.10 Milter xxfi_header()
Process a header All Milter versions
The message??™s headers are sent first during the DATA phase of an SMTP transaction. They
are followed by a blank line and then the message??™s body. This xxfi_header() function
handles each header and stops when there are no more headers to process. After that, the
xxfi_eoh() function, if used, is called.
The xxfi_header() function is called like this:
sfsistat
xxfi_header(SMFICTX *ctx, char *name, char *value)
Here, ctx is the context pointer passed to all xxfi_ functions to maintain state in a multithreaded
environment.
Pages:
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193