smfi_progress Function

Purpose

The smfi_progress function reports the progress of the operation.

Syntax

#include <libmilter/mfapi.h>
int smfi_progress(
	SMFICTX *ctx;
);

Description

The smfi_progress function is called from the xxfi_eom callback function to notify the mail transfer agent (MTA) that the filter is still working on a message. This function cause the MTA to restart its timeouts.

Arguments

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

Return values

The smfi_progress function returns the MI_FAILURE value if there is a network error. Otherwise, the function returns MI_SUCCESS.

Related information

xxfi_eom