xxfi_envrcpt callback Function
Purpose
The xxfi_envrcpt callback
function handles the envelope RCPT
command.
Syntax
#include <libmilter/mfapi.h>
sfsistat (*xxfi_envrcpt)(
SMFICTX *ctx,
char **argv
);
Description
The xxfi_envrcpt callback function is called once per recipient, and one or more times per message immediately after the xxfi_envfrom callback function and returns the SMFIS_CONTINUE flag.
Note: For more details on extended
simple mail transfer protocol (ESMTP) responses, see RFC
1869.
Arguments
Item | Description |
---|---|
ctx | The opaque context structure is maintained in the libmilter parameter. |
argv | The null-terminated SMTP command arguments; argv[0] is
guaranteed to be the recipient address. Later arguments are the extended
simple mail transfer protocol (ESMTP) arguments. |
Return values
Item | Description |
---|---|
SMFIS_TEMPFAIL |
The recipient is temporarily failed; further recipients might still be sent and the xxfi_abort callback function is not called. |
SMFIS_REJECT |
The recipient is rejected; further recipients might still be sent and the xxfi_abort callback function is not called. |
SMFIS_DISCARD |
The message is accepted or discarded, and the xxfi_abort callback function is called. |
SMFIS_ACCEPT |
The recipient is accepted and the xxfi_abort callback function is not be called. |