Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > S

smfi_quarantine(3N)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

smfi_quarantine() — quarantines the sendmail message using the given reason

SYNOPSIS

#include <libmilter/mfapi.h> int smfi_quarantine( SMFICTX *ctx; char * reason ; );

PARAMETERS

smfi_quarantine() contains the following parameters:

ctx

Specifies the opaque context structure.

reason

Specifies the quarantine reason, which is a non-NULL and non-empty null-terminated string.

DESCRIPTION

smfi_quarantine() quarantines the message using a specific reason. smfi_quarantine() can be called only from the xxfi_eom() routine.

RETURN VALUE

smfi_quarantine() fails and returns MI_FAILURE due to the following reasons:

  • The reason argument is NULL or empty.

  • Network error occurs.

  • The SMFIF_QUARANTINE value is not set when the smfi_register() routine is called.

smfi_quarantine() returns MI_SUCCESS on success.

AUTHOR

smfi_quarantine() was developed by Sendmail Inc.

SEE ALSO

smfi_register(3N).

Sendmail 8.13.3 Programmer's Guide on docs.hp.com.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.