xxfi_envfrom

SYNOPSIS
#include <libmilter/mfapi.h>
sfsistat (*xxfi_envfrom)(
	SMFICTX *ctx,
	char **argv
);
Handle the MAIL (envelope sender) command.
DESCRIPTION
Called When xxfi_envfrom is called once at the beginning of each message (MAIL command), before xxfi_envrcpt.
Default Behavior Do nothing; return SMFIS_CONTINUE.
ARGUMENTS
ArgumentDescription
ctx Opaque context structure.
argv Null-terminated SMTP command arguments; argv[0] is guaranteed to be the sender address. Later arguments are the ESMTP arguments.
SPECIAL RETURN VALUES
Return valueDescription
SMFIS_TEMPFAIL Reject this sender and message with a temporary error; a new sender (and hence a new message) may subsequently be specified. xxfi_abort is not called.
SMFIS_REJECT Reject this sender and message; a new sender/message may be specified. xxfi_abort is not called.
SMFIS_DISCARD Accept and silently discard this message. xxfi_abort is not called.
SMFIS_ACCEPT Accept this message. xxfi_abort is not called.
NOTES For more details on ESMTP responses, please see RFC 1869.

Copyright (c) 2000, 2003, 2006 Proofpoint, Inc. and its suppliers. All rights reserved.
By using this file, you agree to the terms and conditions set forth in the LICENSE.