6.2 on page 1207 Called multiple times, once for each piece of the message??™s body
xxfi_eom() ?§26.6.9 on page 1215 Called once per envelope, after the entire body has been received (either
xxfi_eom or xxfi_abort will be called, but not both)
xxfi_abort() ?§26.6.1 on page 1206 Called once, if the message was rejected outside the current Milter
(either xxfi_eom or xxfi_abort will be called, but not both)
xxfi_close() ?§26.6.3 on page 1208 Called once when the connection is closed
Table 26-15. xxfi_ Milter Routines listed in logical order (continued)
Macro ?§ Description
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
26.6 xxfi_ Routine Reference | 1207
Here, ctx is the context pointer passed to all xxfi_ functions to maintain state in a multithreaded
environment. Nothing else is passed. Because there is nothing left of the envelope
to process, the value returned by xxfi_abort() is ignored. If no abort function is listed in
the smfiDesc structure (?§26.5.14 on page 1194), SMFIS_CONTINUE is returned by default.
Note that xxfi_abort() marks the end of the current envelope. There may be multiple
envelopes per connection. The xxfi_close() function (?§26.6.3 on page 1208), if used, ends
processing of the connection. This xxfi_abort() mirrors xxfi_eom() and should be used to
deallocate any envelope-specific private data and to clean up envelope-specific information
in general.
Pages:
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173