smfi_stop(3N)smfi_stop(3N)NAMEsmfi_stop() - starts an orderly shutdown of the Milter for sendmail
SYNOPSISPARAMETERS
void Specifies that the function does not accept any argument.
DESCRIPTION
The routine causes each thread to finish its current connection and
then exit the connection. When all the threads have exited, the call
to the routine returns to the calling program, which may then exit or
warm restart the function.
can be called from any callback routine or any error-handling routine
at any time in the program. A new connection is not accepted after
calling
Notes
A Milter may also shutdown due the following reasons:
· An internal routine may ask the Milter to abort.
· Any other routine may also ask the Milter to stop.
The stop process cannot be canceled once it has begun.
RETURN VALUE
always returns
AUTHOR
The routine was developed by the Sendmail Inc.
SEE ALSOsmfi_main(3N), smfi_register(3N), smfi_setconn(3N), smfi_settime‐
out(3N), smfi_opensocket(3N), smfi_setbacklog(3N), smfi_setdbg(3N).
on
smfi_stop(3N)