1*d0cef73dSGregory Neil Shapiro<HTML> 2*d0cef73dSGregory Neil Shapiro<HEAD><TITLE>smfi_quarantine</TITLE></HEAD> 3*d0cef73dSGregory Neil Shapiro<BODY> 4e92d3f3fSGregory Neil Shapiro<!-- 5*d0cef73dSGregory Neil Shapiro$Id: smfi_quarantine.html,v 1.6 2013-11-22 20:51:39 ca Exp $ 6e92d3f3fSGregory Neil Shapiro--> 7*d0cef73dSGregory Neil Shapiro<H1>smfi_quarantine</H1> 8e92d3f3fSGregory Neil Shapiro 9*d0cef73dSGregory Neil Shapiro<TABLE border="0" cellspacing=4 cellpadding=4> 10e92d3f3fSGregory Neil Shapiro<!---------- Synopsis -----------> 11*d0cef73dSGregory Neil Shapiro<TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD> 12*d0cef73dSGregory Neil Shapiro<PRE> 13e92d3f3fSGregory Neil Shapiro#include <libmilter/mfapi.h> 14e92d3f3fSGregory Neil Shapiroint smfi_quarantine( 15e92d3f3fSGregory Neil Shapiro SMFICTX *ctx; 16e92d3f3fSGregory Neil Shapiro char *reason; 17e92d3f3fSGregory Neil Shapiro); 18*d0cef73dSGregory Neil Shapiro</PRE> 19e92d3f3fSGregory Neil ShapiroQuarantine the message using the given reason. 20*d0cef73dSGregory Neil Shapiro</TD></TR> 21e92d3f3fSGregory Neil Shapiro 22e92d3f3fSGregory Neil Shapiro<!----------- Description ----------> 23*d0cef73dSGregory Neil Shapiro<TR><TH valign="top" align=left>DESCRIPTION</TH><TD> 24*d0cef73dSGregory Neil Shapiro<TABLE border="1" cellspacing=1 cellpadding=4> 25*d0cef73dSGregory Neil Shapiro<TR align="left" valign=top> 26*d0cef73dSGregory Neil Shapiro<TH width="80">Called When</TH> 27*d0cef73dSGregory Neil Shapiro<TD>Called only from <A href="xxfi_eom.html">xxfi_eom</A>.</TD> 28*d0cef73dSGregory Neil Shapiro</TR> 29*d0cef73dSGregory Neil Shapiro<TR align="left" valign=top> 30*d0cef73dSGregory Neil Shapiro<TH width="80">Effects</TH> 31*d0cef73dSGregory Neil Shapiro<TD>smfi_quarantine quarantines the message using the given reason.</TD> 32*d0cef73dSGregory Neil Shapiro</TR> 33*d0cef73dSGregory Neil Shapiro</TABLE> 34e92d3f3fSGregory Neil Shapiro</TD></TR> 35e92d3f3fSGregory Neil Shapiro 36*d0cef73dSGregory Neil Shapiro<!----------- Arguments ----------> 37*d0cef73dSGregory Neil Shapiro<TR><TH valign="top" align=left>ARGUMENTS</TH><TD> 38*d0cef73dSGregory Neil Shapiro <TABLE border="1" cellspacing=0> 39*d0cef73dSGregory Neil Shapiro <TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR> 40*d0cef73dSGregory Neil Shapiro <TR valign="top"><TD>ctx</TD> 41*d0cef73dSGregory Neil Shapiro <TD>Opaque context structure. 42*d0cef73dSGregory Neil Shapiro </TD></TR> 43*d0cef73dSGregory Neil Shapiro <TR valign="top"><TD>reason</TD> 44*d0cef73dSGregory Neil Shapiro <TD>The quarantine reason, a non-NULL and non-empty null-terminated string. 45*d0cef73dSGregory Neil Shapiro </TD></TR> 46*d0cef73dSGregory Neil Shapiro </TABLE> 47e92d3f3fSGregory Neil Shapiro</TD></TR> 48e92d3f3fSGregory Neil Shapiro 49*d0cef73dSGregory Neil Shapiro<!----------- Return values ----------> 50*d0cef73dSGregory Neil Shapiro<TR> 51e92d3f3fSGregory Neil Shapiro<TH valign="top" align=left>RETURN VALUES</TH> 52*d0cef73dSGregory Neil Shapiro 53*d0cef73dSGregory Neil Shapiro<TD>smfi_quarantine will fail and return MI_FAILURE if: 54*d0cef73dSGregory Neil Shapiro<UL> 55*d0cef73dSGregory Neil Shapiro <LI>reason is NULL or empty. 56*d0cef73dSGregory Neil Shapiro <LI>A network error occurs. 57*d0cef73dSGregory Neil Shapiro <LI><A HREF="smfi_register.html#SMFIF_QUARANTINE">SMFIF_QUARANTINE</A> is not set. 58e92d3f3fSGregory Neil Shapiro</UL> 59*d0cef73dSGregory Neil ShapiroOtherwise, it will return MI_SUCCESS 60*d0cef73dSGregory Neil Shapiro</TD> 61e92d3f3fSGregory Neil Shapiro</TR> 62*d0cef73dSGregory Neil Shapiro 63e92d3f3fSGregory Neil Shapiro</TABLE> 64*d0cef73dSGregory Neil Shapiro 65*d0cef73dSGregory Neil Shapiro<HR size="1"> 66e92d3f3fSGregory Neil Shapiro<FONT size="-1"> 67e92d3f3fSGregory Neil ShapiroCopyright (c) 2002-2003 Proofpoint, Inc. and its suppliers. 68*d0cef73dSGregory Neil ShapiroAll rights reserved. 69e92d3f3fSGregory Neil Shapiro<BR> 70e92d3f3fSGregory Neil ShapiroBy using this file, you agree to the terms and conditions set 71*d0cef73dSGregory Neil Shapiroforth in the LICENSE. 72*d0cef73dSGregory Neil Shapiro</FONT> 73*d0cef73dSGregory Neil Shapiro</BODY> 74</HTML> 75