xxfi_unknown

Synopsis


sfsistat (*xxfi_unknown)(
SMFICTX *ctx,
const char *arg
);

Handle unknown and unimplemented SMTP commands.

Description

Called When xxfi_unknown is called when the client uses an SMTP command that is either unknown or not implemented by the MTA.
Default Behavior Do nothing; return SMFIS_CONTINUE.

Arguments

Argument Description
ctx Opaque context structure.
arg SMTP command including all arguments.

Special Return Values

Return value Description
SMFIS_TEMPFAIL Reject this command with a temporary error.
SMFIS_REJECT Reject this command.

Notes

The SMTP command will always be rejected by the server, it is only possible to return a different error code.