Prev | Current Page 2186 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

That text should be a canonical hostname, but may
turn out to be almost anything, so your xxfi_helo() function should practice defensive
programming:
""
"foo"
"bob.is.a.happy.boy"
The HELO or EHLO command is optional. The connecting client may elect to omit sending
this command and instead skip ahead and send the MAIL From: command. Thus, your xxfi_
helo() may not be called for any given connection. If you wishto ensure that it is called, set
one of the following in your mc configuration file:
define('confPRIVACY_FLAGS','goaway') ?†? ?§24.9.86.2 on page 1066
define('confPRIVACY_FLAGS','needmailhelo') ?†? ?§24.9.86.6 on page 1067
The HELO or EHLO command may be sent multiple times during a given connection. If it is, it
resets the connection inside sendmail. Your xxfi_helo() function should be prepared to be
called multiple times during any given connection.
The values the xxfi_helo() function can return and their meanings are:
SMFIS_CONTINUE
Allow the current connection and continue handling it. This is the default return value
if you don??™t declare a HELO/EHLO handler in smfiDesc (?§26.5.14 on page 1194).
SMFIS_ACCEPT (and SMFIS_DISCARD)
Allow the current connection. Your Milter will not be called again for this connection
until the connection terminates and your xxfi_close() function (?§26.6.3 on page
1208), if used, is called.


Pages:
2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198
oferty reklama pozycjonowanie Apartamenty Władysławowo boiler service london