xxfi_envfrom.html revision 90792
190792Sgshapiro<html>
290792Sgshapiro<head><title>xxfi_envfrom</title></head>
390792Sgshapiro<body>
490792Sgshapiro<h1>xxfi_envfrom</h1>
590792Sgshapiro
690792Sgshapiro<table border="0" cellspacing=4 cellpadding=4>
790792Sgshapiro<!---------- Synopsis ----------->
890792Sgshapiro<tr><th valign="top" align=left width=150>SYNOPSIS</th><td>
990792Sgshapiro<pre>
1090792Sgshapiro#include &lt;libmilter/mfapi.h&gt;
1190792Sgshapirosfsistat (*xxfi_envfrom)(
1290792Sgshapiro	SMFICTX * ctx,
1390792Sgshapiro	char **	argv
1490792Sgshapiro);
1590792Sgshapiro</pre>
1690792SgshapiroHandle the envelope FROM command.
1790792Sgshapiro</td></tr>
1890792Sgshapiro
1990792Sgshapiro<!----------- Description ---------->
2090792Sgshapiro<tr><th valign="top" align=left>DESCRIPTION</th><td>
2190792Sgshapiro<table border="1" cellspacing=1 cellpadding=4>
2290792Sgshapiro<tr align="left" valign=top>
2390792Sgshapiro<th width="80">Called When</th>
2490792Sgshapiro<td>xxfi_envfrom is called once at the beginning of each message, before xxfi_envrcpt.</td>
2590792Sgshapiro</tr>
2690792Sgshapiro<tr align="left" valign=top>
2790792Sgshapiro<th>Default Behavior</th>
2890792Sgshapiro<td>Do nothing; return SMFIS_CONTINUE.</td>
2990792Sgshapiro</tr>
3090792Sgshapiro</table>
3190792Sgshapiro
3290792Sgshapiro<!----------- Arguments ---------->
3390792Sgshapiro<tr><th valign="top" align=left>ARGUMENTS</th><td>
3490792Sgshapiro    <table border="1" cellspacing=0>
3590792Sgshapiro    <tr bgcolor="#dddddd"><th>Argument</th><th>Description</th></tr>
3690792Sgshapiro    <tr valign="top"><td>ctx</td>
3790792Sgshapiro	<td>Opaque context structure.
3890792Sgshapiro	</td></tr>
3990792Sgshapiro    <tr valign="top"><td>argv</td>
4090792Sgshapiro	<td>Null-terminated SMTP command arguments;
4190792Sgshapiro		argv[0] is guaranteed to be the sender address.
4290792Sgshapiro		Later arguments are the ESMTP arguments.
4390792Sgshapiro	</td></tr>
4490792Sgshapiro    </table>
4590792Sgshapiro</td></tr>
4690792Sgshapiro
4790792Sgshapiro<!----------- Return values ---------->
4890792Sgshapiro<tr>
4990792Sgshapiro<th valign="top" align=left>SPECIAL RETURN VALUES</th>
5090792Sgshapiro<td><table border="1" cellspacing=0>
5190792Sgshapiro  <tr bgcolor="#dddddd"><th>Return value</th><th>Description</th></tr>
5290792Sgshapiro  <tr valign="top">
5390792Sgshapiro     <td>SMFIS_TEMPFAIL</td>
5490792Sgshapiro     <td>Reject this sender and message with a temporary error; a new sender (and hence a new message) may subsequently be specified.  <a href="xxfi_abort.html">xxfi_abort</a> is not called.
5590792Sgshapiro     </td>
5690792Sgshapiro  </tr>
5790792Sgshapiro  <tr valign="top">
5890792Sgshapiro     <td>SMFIS_REJECT</td>
5990792Sgshapiro     <td>Reject this sender and message; a new sender/message may be specified.  <a href="xxfi_abort.html">xxfi_abort</a> is not called.
6090792Sgshapiro     </td>
6190792Sgshapiro  </tr>
6290792Sgshapiro  <tr valign="top">
6390792Sgshapiro     <td>SMFIS_DISCARD</td>
6490792Sgshapiro     <td>Accept and silently discard this message.  <a href="xxfi_abort.html">xxfi_abort</a> is not called.
6590792Sgshapiro     </td>
6690792Sgshapiro  </tr>
6790792Sgshapiro  <tr valign="top">
6890792Sgshapiro     <td>SMFIS_ACCEPT</td>
6990792Sgshapiro     <td>Accept this message.  <a href="xxfi_abort.html">xxfi_abort</a> is not called.
7090792Sgshapiro     </td>
7190792Sgshapiro  </tr>
7290792Sgshapiro</table>
7390792Sgshapiro</tr>
7490792Sgshapiro
7590792Sgshapiro<!----------- Notes ---------->
7690792Sgshapiro<tr>
7790792Sgshapiro<th valign="top" align=left>NOTES</th> 
7890792Sgshapiro<td>For more details on ESTMP responses, please see RFC
7990792Sgshapiro<a href="http://www.cis.ohio-state.edu/rfc/rfc1869.txt">1869</a>.</td>
8090792Sgshapiro</tr>
8190792Sgshapiro</table>
8290792Sgshapiro
8390792Sgshapiro<hr size="1">
8490792Sgshapiro<font size="-1">
8590792SgshapiroCopyright (c) 2000 Sendmail, Inc. and its suppliers.
8690792SgshapiroAll rights reserved.
8790792Sgshapiro<br>
8890792SgshapiroBy using this file, you agree to the terms and conditions set
8990792Sgshapiroforth in the <a href="LICENSE.txt">LICENSE</a>.
9090792Sgshapiro</font>
9190792Sgshapiro</body>
9290792Sgshapiro</html>
93