2 <HEAD><TITLE>smfi_quarantine</TITLE></HEAD>
5 $Id: smfi_quarantine.html,v 1.6 2013-11-22 20:51:39 ca Exp $
7 <H1>smfi_quarantine</H1>
9 <TABLE border="0" cellspacing=4 cellpadding=4>
10 <!---------- Synopsis ----------->
11 <TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD>
13 #include <libmilter/mfapi.h>
19 Quarantine the message using the given reason.
22 <!----------- Description ---------->
23 <TR><TH valign="top" align=left>DESCRIPTION</TH><TD>
24 <TABLE border="1" cellspacing=1 cellpadding=4>
25 <TR align="left" valign=top>
26 <TH width="80">Called When</TH>
27 <TD>Called only from <A href="xxfi_eom.html">xxfi_eom</A>.</TD>
29 <TR align="left" valign=top>
30 <TH width="80">Effects</TH>
31 <TD>smfi_quarantine quarantines the message using the given reason.</TD>
35 <!----------- Arguments ---------->
36 <TR><TH valign="top" align=left>ARGUMENTS</TH><TD>
37 <TABLE border="1" cellspacing=0>
38 <TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR>
39 <TR valign="top"><TD>ctx</TD>
40 <TD>Opaque context structure.
42 <TR valign="top"><TD>reason</TD>
43 <TD>The quarantine reason, a non-NULL and non-empty null-terminated string.
48 <!----------- Return values ---------->
50 <TH valign="top" align=left>RETURN VALUES</TH>
52 <TD>smfi_quarantine will fail and return MI_FAILURE if:
54 <LI>reason is NULL or empty.
55 <LI>A network error occurs.
56 <LI>SMFIF_QUARANTINE was not set when <A href="smfi_register.html">smfi_register</A> was called.
58 Otherwise, it will return MI_SUCCESS
66 Copyright (c) 2002-2003 Proofpoint, Inc. and its suppliers.
69 By using this file, you agree to the terms and conditions set