Prev | Current Page 2146 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

The msg1, msg2, and so on are strings (or pointers to strings). Each
string will occupy a separate line of the error message. Concluding the list of one or more
strings is the literal NULL.
The following, for example, causes sendmail to issue additional information eachtime it
rejects an offending SMTP command:
ret = smfi_setmlreply(ctx, "421", "4.7.1",
"We do not accept spam from your site,",
"Contact whitelist@our.domain to be whitelisted",
"or telephone (555) 555-1234 for help.", NULL);
This setting will cause the message to be rejected like this:
421-4.7.1 We do not accept spam from your site,
421-4.7.1 Contact whiteliste@our.domain to be whitelisted
421 4.7.1 or telephone +1-555-555-1234 for help.
Note that beginning with V8.13.5, if the Milter returns SMFI_TEMPFAIL, the SMTP reply
code 421 causes sendmail to drop the connection immediately after issuing this reply.
26.5.20 Milter smfi_setpriv()
Set aside private data for later use All sendmail versions
Often, a Milter will need private data to keep track of things such as individual headers
viewed, or will need to buffer data, such as the parts of a message??™s body. The Milter
library provides a means to set aside and use private data. You declare the data using this
smfi_setpriv() routine, then later fetch it using the smfi_getpriv() routine (?§26.5.7 on
page 1189).


Pages:
2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158
fenomenalne mieszkania do wynajęcia warszawa śmieszne dowcipy życzenia ślubne wierszyki katalog stron