United States-English |
|
|
HP-UX Reference > Ssmfi_setreply(3N)HP-UX 11i Version 3: February 2007 |
|
NAMEsmfi_setreply() — sets the default SMTP error reply code SYNOPSIS#include <libmilter/mfapi.h> int smfi_setreply( SMFICTX *ctx, char *rcode, char *xcode, char *message ); PARAMETERS
DESCRIPTIONThe smfi_setreply() routine directly sets the SMTP error reply code for a connection. Only 4XX and 5XX replies are accepted. smfi_setreply() uses this code on subsequent error replies from the Milter function. smfi_setreply() can be called from any xxfi_callback() function except the xxfi_connect() function. Notes
RETURN VALUEsmfi_setreply() fails and returns MI_FAILURE if the rcode or xcode argument is invalid or a memory allocation failure occurs; otherwise; smfi_setreply() returns MI_SUCCESS. SEE ALSOsmfi_getsymval(3N), smfi_getpriv(3N), smfi_setreply(3N), smfi_setpriv(3N). Sendmail 8.13.3 Programmer's Guide on docs.hp.com. |
Printable version | ||
|