Merge from vendor branch LIBSTDC++:
[dragonfly.git] / contrib / sendmail / libmilter / docs / xxfi_envrcpt.html
1 <html>
2 <head><title>xxfi_envrcpt</title></head>
3 <body>
4 <h1>xxfi_envrcpt</h1>
5
6 <table border="0" cellspacing=4 cellpadding=4>
7 <!---------- Synopsis ----------->
8 <tr><th valign="top" align=left width=150>SYNOPSIS</th><td>
9 <pre>
10 #include &lt;libmilter/mfapi.h&gt;
11 sfsistat (*xxfi_envrcpt)(
12         SMFICTX * ctx,
13         char ** argv
14 );
15 </pre>
16 Handle the envelope RCPT command.
17 </td></tr>
18
19 <!----------- Description ---------->
20 <tr><th valign="top" align=left>DESCRIPTION</th><td>
21 <table border="1" cellspacing=1 cellpadding=4>
22 <tr align="left" valign=top>
23 <th width="80">Called When</th>
24 <td>xxfi_envrcpt is called once per recipient, hence one or more times per message, immediately after xxfi_envfrom.</td>
25 </tr>
26 <tr align="left" valign=top>
27 <th>Default Behavior</th>
28 <td>Do nothing; return SMFIS_CONTINUE.</td>
29 </tr>
30 </table>
31
32 <!----------- Arguments ---------->
33 <tr><th valign="top" align=left>ARGUMENTS</th><td>
34     <table border="1" cellspacing=0>
35     <tr bgcolor="#dddddd"><th>Argument</th><th>Description</th></tr>
36     <tr valign="top"><td>ctx</td>
37         <td>Opaque context structure.
38         </td></tr>
39     <tr valign="top"><td>argv</td>
40         <td>Null-terminated SMTP command arguments;
41                 argv[0] is guaranteed to be the recipient address.
42                 Later arguments are the ESMTP arguments.
43         </td></tr>
44     </table>
45 </td></tr>
46
47 <!----------- Return values ---------->
48 <tr>
49 <th valign="top" align=left>SPECIAL RETURN VALUES</th>
50 <td><table border="1" cellspacing=0>
51   <tr bgcolor="#dddddd"><th>Return value</th><th>Description</th></tr>
52   <tr valign="top">
53      <td>SMFIS_TEMPFAIL</td>
54      <td>Temporarily fail for this particular recipient; further recipients 
55      maystill be sent.  <a href="xxfi_abort.html">xxfi_abort</a> is not called.
56      </td>
57   </tr>
58   <tr valign="top">
59      <td>SMFIS_REJECT</td>
60      <td>Reject this particular recipient; further recipients maystill be sent.
61      <a href="xxfi_abort.html">xxfi_abort</a> is not called.
62      </td>
63   </tr>
64   <tr valign="top">
65      <td>SMFIS_DISCARD</td>
66      <td>Accept and discard the message.  <a href="xxfi_abort.html">xxfi_abort</a> will be called.
67      </td>
68   </tr>
69   <tr valign="top">
70      <td>SMFIS_ACCEPT</td>
71      <td>Accept recipient.  <a href="xxfi_abort.html">xxfi_abort</a> will not be called.
72      </td>
73    </tr>
74 </table>
75 </tr>
76
77 <!----------- Notes ---------->
78 <tr>
79 <th valign="top" align=left>NOTES</th> 
80 <td>For more details on ESTMP responses, please see RFC
81 <a href="http://www.rfc-editor.org/rfc/rfc1869.txt">1869</a>.</td>
82 </tr>
83 </table>
84
85 <hr size="1">
86 <font size="-1">
87 Copyright (c) 2000, 2003 Sendmail, Inc. and its suppliers.
88 All rights reserved.
89 <br>
90 By using this file, you agree to the terms and conditions set
91 forth in the LICENSE.
92 </font>
93 </body>
94 </html>