But if your Milter final-accepts, rejects,
temporarily fails, or discards the envelope, your Milter??™s xxfi_abort() function will not be
called.
26.6.11 Milter xxfi_helo()
Process a HELO/EHLO command All Milter versions
After the client connects to the listening sendmail server, and after sendmail has sent its 220
greeting, the client will usually send a HELO or EHLO command to greet sendmail and to
declare its use of ESMTP extensions:
220 your.host.domain ESMTP Sendmail 8.14.1/8.14.1; Fri, 12 Dec 2007 06:06:10 -0800
(PST)
HELO client name here ?†? do not use ESMTP extensions
EHLO client name here ?†? use ESMTP extensions
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
26.6 xxfi_ Routine Reference | 1219
After the client has sent its HELO or EHLO greeting, and before sendmail replies to that
greeting, your xxfi_helo() function, if used, is called.
The xxfi_helo() function is called like this:
sfsistat
xxfi_helo(SMFICTX *ctx, char *helohost)
Here, ctx is the context pointer passed to all xxfi_ functions to maintain state in a multithreaded
environment. The helohost is the client??™s hostname as supplied along with the
HELO or EHLO greeting. It is a zero-terminated string that contains the literal text supplied by
the client to the HELO or EHLO greeting.
Pages:
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197