1168515Sgshapiro<HTML>
2168515Sgshapiro<HEAD><TITLE>xxfi_envrcpt</TITLE></HEAD>
3168515Sgshapiro<BODY>
4132943Sgshapiro<!--
5223067Sgshapiro$Id: xxfi_envrcpt.html,v 1.16 2010/07/14 04:41:03 ca Exp $
6132943Sgshapiro-->
7168515Sgshapiro<H1>xxfi_envrcpt</H1>
890792Sgshapiro
9168515Sgshapiro<TABLE border="0" cellspacing=4 cellpadding=4>
1090792Sgshapiro<!---------- Synopsis ----------->
11168515Sgshapiro<TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD>
12168515Sgshapiro<PRE>
1390792Sgshapiro#include &lt;libmilter/mfapi.h&gt;
1490792Sgshapirosfsistat (*xxfi_envrcpt)(
15168515Sgshapiro	SMFICTX *ctx,
16168515Sgshapiro	char **argv
1790792Sgshapiro);
18168515Sgshapiro</PRE>
1990792SgshapiroHandle the envelope RCPT command.
20168515Sgshapiro</TD></TR>
2190792Sgshapiro
2290792Sgshapiro<!----------- Description ---------->
23168515Sgshapiro<TR><TH valign="top" align=left>DESCRIPTION</TH><TD>
24168515Sgshapiro<TABLE border="1" cellspacing=1 cellpadding=4>
25168515Sgshapiro<TR align="left" valign=top>
26168515Sgshapiro<TH width="80">Called When</TH>
27168515Sgshapiro<TD>xxfi_envrcpt is called once per recipient, hence one or more times per message, immediately after xxfi_envfrom.</TD>
28168515Sgshapiro</TR>
29168515Sgshapiro<TR align="left" valign=top>
30168515Sgshapiro<TH>Default Behavior</TH>
31168515Sgshapiro<TD>Do nothing; return SMFIS_CONTINUE.</TD>
32168515Sgshapiro</TR>
33168515Sgshapiro</TABLE>
3490792Sgshapiro
3590792Sgshapiro<!----------- Arguments ---------->
36168515Sgshapiro<TR><TH valign="top" align=left>ARGUMENTS</TH><TD>
37168515Sgshapiro    <TABLE border="1" cellspacing=0>
38168515Sgshapiro    <TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR>
39168515Sgshapiro    <TR valign="top"><TD>ctx</TD>
40168515Sgshapiro	<TD>Opaque context structure.
41168515Sgshapiro	</TD></TR>
42168515Sgshapiro    <TR valign="top"><TD>argv</TD>
43168515Sgshapiro	<TD>Null-terminated SMTP command arguments;
4490792Sgshapiro		argv[0] is guaranteed to be the recipient address.
4590792Sgshapiro		Later arguments are the ESMTP arguments.
46168515Sgshapiro	</TD></TR>
47168515Sgshapiro    </TABLE>
48168515Sgshapiro</TD></TR>
4990792Sgshapiro
5090792Sgshapiro<!----------- Return values ---------->
51168515Sgshapiro<TR>
52168515Sgshapiro<TH valign="top" align=left>SPECIAL RETURN VALUES</TH>
53168515Sgshapiro<TD><TABLE border="1" cellspacing=0>
54168515Sgshapiro  <TR bgcolor="#dddddd"><TH>Return value</TH><TH>Description</TH></TR>
55168515Sgshapiro  <TR valign="top">
56168515Sgshapiro     <TD>SMFIS_TEMPFAIL</TD>
57168515Sgshapiro     <TD>Temporarily fail for this particular recipient; further recipients 
58168515Sgshapiro     may still be sent.  <A href="xxfi_abort.html">xxfi_abort</A> is not called.
59168515Sgshapiro     </TD>
60168515Sgshapiro  </TR>
61168515Sgshapiro  <TR valign="top">
62168515Sgshapiro     <TD>SMFIS_REJECT</TD>
63168515Sgshapiro     <TD>Reject this particular recipient; further recipients may still be sent.
64168515Sgshapiro     <A href="xxfi_abort.html">xxfi_abort</A> is not called.
65168515Sgshapiro     </TD>
66168515Sgshapiro  </TR>
67168515Sgshapiro  <TR valign="top">
68168515Sgshapiro     <TD>SMFIS_DISCARD</TD>
69168515Sgshapiro     <TD>Accept and discard the message.  <A href="xxfi_abort.html">xxfi_abort</A> will be called.
70168515Sgshapiro     </TD>
71168515Sgshapiro  </TR>
72168515Sgshapiro  <TR valign="top">
73168515Sgshapiro     <TD>SMFIS_ACCEPT</TD>
74223067Sgshapiro     <TD>Accept this message.
75223067Sgshapiro     <A href="xxfi_abort.html">xxfi_abort</A> will not be called.
76168515Sgshapiro     </TD>
77168515Sgshapiro   </TR>
78168515Sgshapiro</TABLE>
79168515Sgshapiro</TR>
8090792Sgshapiro
8190792Sgshapiro<!----------- Notes ---------->
82168515Sgshapiro<TR>
83168515Sgshapiro<TH valign="top" align=left>NOTES</TH> 
84168515Sgshapiro<TD>For more details on ESMTP responses, please see RFC
85168515Sgshapiro<A href="http://www.rfc-editor.org/rfc/rfc1869.txt">1869</A>.</TD>
86168515Sgshapiro</TR>
87168515Sgshapiro</TABLE>
8890792Sgshapiro
89168515Sgshapiro<HR size="1">
90168515Sgshapiro<FONT size="-1">
91223067SgshapiroCopyright (c) 2000, 2003, 2010 Sendmail, Inc. and its suppliers.
9290792SgshapiroAll rights reserved.
93168515Sgshapiro<BR>
9490792SgshapiroBy using this file, you agree to the terms and conditions set
95112810Sgshapiroforth in the LICENSE.
96168515Sgshapiro</FONT>
97168515Sgshapiro</BODY>
98168515Sgshapiro</HTML>
99