xxfi_data callback Function

Purpose

The xxfi_data callback function handles the DATA command.

Syntax

#include <libmilter/mfapi.h>
sfsistat (*xxfi_data)(
	SMFICTX *ctx
);

Description

The xxfi_data callback function is called when the client uses the DATA command and returns the SMFIS_CONTINUE flag.

Note: For more details on ESMTP responses, see RFC 1869.

Arguments

Table 1. Arguments
Item Description
ctx The opaque context structure maintained in libmilter parameter.

Return values

Table 2. Return values
Item Description
SMFIS_TEMPFAIL The message is rejected with a temporary error.
SMFIS_REJECT The message is rejected.
SMFIS_DISCARD The message is accepted and discarded.
SMFIS_ACCEPT The message is accepted.