summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/libmilter/docs/xxfi_envfrom.html
blob: df9e0fc2cd951dfad6fe192b6afc4dfe3faaa8e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<html>
<head><title>xxfi_envfrom</title></head>
<body>
<!--
$Id: xxfi_envfrom.html,v 1.9 2003/03/05 19:57:55 ca Exp $
-->
<h1>xxfi_envfrom</h1>

<table border="0" cellspacing=4 cellpadding=4>
<!---------- Synopsis ----------->
<tr><th valign="top" align=left width=150>SYNOPSIS</th><td>
<pre>
#include &lt;libmilter/mfapi.h&gt;
sfsistat (*xxfi_envfrom)(
	SMFICTX * ctx,
	char **	argv
);
</pre>
Handle the envelope FROM command.
</td></tr>

<!----------- Description ---------->
<tr><th valign="top" align=left>DESCRIPTION</th><td>
<table border="1" cellspacing=1 cellpadding=4>
<tr align="left" valign=top>
<th width="80">Called When</th>
<td>xxfi_envfrom is called once at the beginning of each message, before xxfi_envrcpt.</td>
</tr>
<tr align="left" valign=top>
<th>Default Behavior</th>
<td>Do nothing; return SMFIS_CONTINUE.</td>
</tr>
</table>

<!----------- Arguments ---------->
<tr><th valign="top" align=left>ARGUMENTS</th><td>
    <table border="1" cellspacing=0>
    <tr bgcolor="#dddddd"><th>Argument</th><th>Description</th></tr>
    <tr valign="top"><td>ctx</td>
	<td>Opaque context structure.
	</td></tr>
    <tr valign="top"><td>argv</td>
	<td>Null-terminated SMTP command arguments;
		argv[0] is guaranteed to be the sender address.
		Later arguments are the ESMTP arguments.
	</td></tr>
    </table>
</td></tr>

<!----------- Return values ---------->
<tr>
<th valign="top" align=left>SPECIAL RETURN VALUES</th>
<td><table border="1" cellspacing=0>
  <tr bgcolor="#dddddd"><th>Return value</th><th>Description</th></tr>
  <tr valign="top">
     <td>SMFIS_TEMPFAIL</td>
     <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.
     </td>
  </tr>
  <tr valign="top">
     <td>SMFIS_REJECT</td>
     <td>Reject this sender and message; a new sender/message may be specified.  <a href="xxfi_abort.html">xxfi_abort</a> is not called.
     </td>
  </tr>
  <tr valign="top">
     <td>SMFIS_DISCARD</td>
     <td>Accept and silently discard this message.  <a href="xxfi_abort.html">xxfi_abort</a> is not called.
     </td>
  </tr>
  <tr valign="top">
     <td>SMFIS_ACCEPT</td>
     <td>Accept this message.  <a href="xxfi_abort.html">xxfi_abort</a> is not called.
     </td>
  </tr>
</table>
</tr>

<!----------- Notes ---------->
<tr>
<th valign="top" align=left>NOTES</th> 
<td>For more details on ESTMP responses, please see RFC
<a href="http://www.rfc-editor.org/rfc/rfc1869.txt">1869</a>.</td>
</tr>
</table>

<hr size="1">
<font size="-1">
Copyright (c) 2000, 2003 Sendmail, Inc. and its suppliers.
All rights reserved.
<br>
By using this file, you agree to the terms and conditions set
forth in the LICENSE.
</font>
</body>
</html>
OpenPOWER on IntegriCloud