xxfi_helo callback Function
Purpose
The xxfi_helo callback function handles the HELO or EHLO command.
Syntax
#include <libmilter/mfapi.h>
sfsistat (*xxfi_helo)(
SMFICTX *ctx,
char *helohost
);Description
The xxfi_hello callback function is called whenever the client sends a HELO or EHLO command and returns the SMFIS_CONTINUE flag. The callback might, therefore be called several times or even not called. Some restrictions can be imposed by the mail transfer agent (MTA) configuration.
Arguments
| Item | Description |
|---|---|
| ctx | The opaque context structure is maintained in the libmilter parameter. |
| helohost | The value passed to HELO or EHLO command, should be the domain name of the sending host |