NAME
smfi_main() — passes control to the libmilter event loop
SYNOPSIS
#include <libmilter/mfapi.h>
int smfi_main(
);
DESCRIPTION
smfi_main()
hands control to the Milter event loop.
smfi_main()
is called after initializing a filter.
RETURN VALUE
smfi_main()
returns
MI_FAILURE
if it fails to establish a connection.
This may occur for any reason,
such as, address passed to
smfi_setconn().
The reason for the failure is logged.
smfi_main()
returns
MI_SUCCESS
when it successfully establishes a connection.
AUTHOR
The
smfi_main()
routine was developed was the Sendmail Inc.