6.12 on page 1220) to let the library know your intention.
Note that to reject the headers is to reject the entire DATA phase of the SMTP envelope.
Subsequent Milters, if any, will not be given that DATA phase for review. If your xxfi_eoh()
function returns SMFIS_CONTINUE, and if a later Milter or sendmail has rejected the envelope,
your Milter??™s xxfi_abort() function will be called. But if your Milter final-accepts, rejects,
temp-fails, or discards the envelope, your Milter??™s xxfi_abort() function will not be called.
26.6.9 Milter xxfi_eom()
Process a header All Milter versions
The SMTP DATA phase of a message ends when the connecting client sends a dot on a line
by itself. During that SMTP DATA phase, zero or more headers may have been sent, followed
by a blank line and then the message body (possibly empty). After sendmail receives the
final dot, but before sendmail replies to the final dot, this xxfi_eom() function, if used, is
called.
The xxfi_eom() function is called like this:
sfsistat
xxfi_eom(SMFICTX *ctx)
Here, ctx is the context pointer passed to all xxfi_ functions to maintain state in a multithreaded
environment. That is the only argument passed.
The xxfi_eom() function is special in that it is allowed to do many things that other xxfi_
functions are not allowed to do. Table 26-16 lists the smfi_ routines that only xxfi_eom()
may call.
Pages:
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190