If msg is NULL, it is
ignored and no message will be issued as part of the reply.
Eachtime smfi_setreply() is called, it frees any prior message and replaces it withth e new
one.
The Milter library, except for the single situation described in the next section, will silently
enforce a failure to match the SMTP code to the type of rejection you specified. But note
that if you specify a 5yz code and temporarily fail (temp-fail) the message, your smfi_
setreply() setting will be ignored. Similarly, if you specify 4yz and reject the message, your
custom reply will also be ignored.
* The Milter library has no idea if you have referenced string constants or used zero memory pointers. For the
Milter library to undertake your job would be hazardous in the extreme.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
26.5 smfi_ Routine Reference | 1201
26.5.21.1 V8.13 SMTP 421 and SMFIS_TEMPFAIL
The connection routine in a Milter can cause a connection to be rejected. Prior to V8.13
sendmail, connections were rejected in a gentle manner. The connecting site was given a
220 reply and all subsequent commands from that connecting site were each given a 550
reply??”except for QUIT (a 221 reply) and NOOP (a 250 reply). This roundabout approach
was needed to prevent harming some broken MTAs which could not handle a 550 rejection
to the connection gracefully.
Pages:
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161