xref: /freebsd/contrib/sendmail/libmilter/docs/xxfi_data.html (revision 25ecdc7d52770caf1c9b44b5ec11f468f6b636f3)
1<HTML>
2<HEAD><TITLE>xxfi_data</TITLE></HEAD>
3<BODY>
4<!--
5$Id: xxfi_data.html,v 1.5 2013-11-22 20:51:39 ca Exp $
6-->
7<H1>xxfi_data</H1>
8
9<TABLE border="0" cellspacing=4 cellpadding=4>
10<!---------- Synopsis ----------->
11<TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD>
12<PRE>
13#include &lt;libmilter/mfapi.h&gt;
14sfsistat (*xxfi_data)(
15	SMFICTX *ctx
16);
17</PRE>
18Handle the DATA command.
19</TD></TR>
20
21<!----------- Description ---------->
22<TR><TH valign="top" align=left>DESCRIPTION</TH><TD>
23<TABLE border="1" cellspacing=1 cellpadding=4>
24<TR align="left" valign=top>
25<TH width="80">Called When</TH>
26<TD>xxfi_data is called when the client uses the DATA command.</TD>
27</TR>
28<TR align="left" valign=top>
29<TH>Default Behavior</TH>
30<TD>Do nothing; return SMFIS_CONTINUE.</TD>
31</TR>
32</TABLE>
33</TD></TR>
34
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.
41	</TD></TR>
42    </TABLE>
43</TD></TR>
44
45<!----------- Return values ---------->
46<TR>
47<TH valign="top" align=left>SPECIAL RETURN VALUES</TH>
48<TD><TABLE border="1" cellspacing=0>
49  <TR bgcolor="#dddddd"><TH>Return value</TH><TH>Description</TH></TR>
50  <TR valign="top">
51     <TD>SMFIS_TEMPFAIL</TD>
52     <TD>Reject this message with a temporary error.
53     </TD>
54  </TR>
55  <TR valign="top">
56     <TD>SMFIS_REJECT</TD>
57     <TD>Reject this message.
58     </TD>
59  </TR>
60  <TR valign="top">
61     <TD>SMFIS_DISCARD</TD>
62     <TD>Accept and silently discard this message.
63     </TD>
64  </TR>
65  <TR valign="top">
66     <TD>SMFIS_ACCEPT</TD>
67     <TD>Accept this message.
68     </TD>
69  </TR>
70</TABLE>
71</TD></TR>
72
73<!----------- Notes ---------->
74<TR>
75<TH valign="top" align=left>NOTES</TH>
76<TD>For more details on ESMTP responses, please see RFC
77<A href="http://www.rfc-editor.org/rfc/rfc1869.txt">1869</A>.</TD>
78</TR>
79</TABLE>
80
81<HR size="1">
82<FONT size="-1">
83Copyright (c) 2006 Proofpoint, Inc. and its suppliers.
84All rights reserved.
85<BR>
86By using this file, you agree to the terms and conditions set
87forth in the LICENSE.
88</FONT>
89</BODY>
90</HTML>
91