Note that a MAIL From:, if called out of order, acts like an RSET and resets the envelope to a
new envelope. In this instance, the xxfi_abort() function (?§26.6.1 on page 1206), if used,
will only be called if SMFIS_CONTINUE was previously returned. If anything other than SMFIS_
CONTINUE is returned, xxfi_abort() will not be called no matter how the envelope is rejected
or final-accepted.
Also note that if an earlier Milter rejected the MAIL From:, this xxfi_envfrom() function, if
used, will not be called.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
26.6 xxfi_ Routine Reference | 1213
26.6.7 Milter xxfi_envrcpt()
Process an envelope recipient All Milter versions
After the connecting client has issued the SMTP MAIL From: command to specify the envelope
sender, the connecting client then (normally) sends one or more envelope recipients
using an RCPT To: SMTP command to send each. After the RCPT To: has been received, but
before sendmail responds to that command, the xxfi_envrcpt() function, if used, is called.
The xxfi_envrcpt() function is called like this:
sfsistat
xxfi_envrcpt(SMFICTX *ctx, char **argv)
Here, ctx is the context pointer passed to all xxfi_ functions to maintain state in a multithreaded
environment. The argv is an array of pointers to strings.
Pages:
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185