The message is
composed of headers first, then a blank line, and lastly the message body. Each header line
is processed by your xxfi_header() function, if used. After all headers have been processed,
but before the message body is processed, this xxfi_eoh() function, if used, is called.
The xxfi_eoh() function is called like this:
sfsistat
xxfi_eoh(SMFICTX *ctx)
Here, ctx is the context pointer passed to all xxfi_ functions to maintain state in a multithreaded
environment, and it is the only argument.
It is up to you and your code to have cached any decisions about headers for later use by
this xxfi_eoh() function.
The xxfi_eoh() function can return any of several values that determine the further
handling of the current envelope:
SMFIS_CONTINUE
Allow the current envelope and continue handling the current envelope. This is the
default return value if you don??™t declare an end-of-headers handler in smfiDesc
(?§26.5.14 on page 1194).
SMFIS_ACCEPT
Accept the current envelope. Your Milter will not be called again for this envelope but
will have xxfi_close() called at the end of the connection. Note that despite your
acceptance, this envelope may still be rejected by a later Milter. Also note that this
accepts only the current envelope. If there are more envelopes on the current connection,
your Milter will still be called for each.
Pages:
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188