xref: /freebsd/contrib/sendmail/libmilter/docs/xxfi_data.html (revision 9336e0699bda8a301cd2bfa37106b6ec5e32012e)
1<HTML>
2<HEAD><TITLE>xxfi_data</TITLE></HEAD>
3<BODY>
4<!--
5$Id: xxfi_data.html,v 1.4 2007/01/25 01:00:20 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.
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
34<!----------- Arguments ---------->
35<TR><TH valign="top" align=left>ARGUMENTS</TH><TD>
36    <TABLE border="1" cellspacing=0>
37    <TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR>
38    <TR valign="top"><TD>ctx</TD>
39	<TD>Opaque context structure.
40	</TD></TR>
41    </TABLE>
42</TD></TR>
43
44<!----------- Return values ---------->
45<TR>
46<TH valign="top" align=left>SPECIAL RETURN VALUES</TH>
47<TD><TABLE border="1" cellspacing=0>
48  <TR bgcolor="#dddddd"><TH>Return value</TH><TH>Description</TH></TR>
49  <TR valign="top">
50     <TD>SMFIS_TEMPFAIL</TD>
51     <TD>Reject this message with a temporary error.
52     </TD>
53  </TR>
54  <TR valign="top">
55     <TD>SMFIS_REJECT</TD>
56     <TD>Reject this message.
57     </TD>
58  </TR>
59  <TR valign="top">
60     <TD>SMFIS_DISCARD</TD>
61     <TD>Accept and silently discard this message.
62     </TD>
63  </TR>
64  <TR valign="top">
65     <TD>SMFIS_ACCEPT</TD>
66     <TD>Accept this message.
67     </TD>
68  </TR>
69</TABLE>
70</TR>
71
72<!----------- Notes ---------->
73<TR>
74<TH valign="top" align=left>NOTES</TH>
75<TD>For more details on ESMTP responses, please see RFC
76<A href="http://www.rfc-editor.org/rfc/rfc1869.txt">1869</A>.</TD>
77</TR>
78</TABLE>
79
80<HR size="1">
81<FONT size="-1">
82Copyright (c) 2006 Sendmail, Inc. and its suppliers.
83All rights reserved.
84<BR>
85By using this file, you agree to the terms and conditions set
86forth in the LICENSE.
87</FONT>
88</BODY>
89</HTML>
90