xref: /freebsd/contrib/sendmail/libmilter/docs/xxfi_helo.html (revision 729362425c09cf6b362366aabc6fb547eee8035a)
1<html>
2<head><title>xxfi_helo</title></head>
3<body>
4<h1>xxfi_helo</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;
11sfsistat (*xxfi_helo)(
12	SMFICTX * ctx,
13	char * helohost
14);
15</pre>
16Handle the HELO/EHLO 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> <td>xxfi_helo is called whenever the client
24sends a HELO/EHLO command.  It may therefore be called between zero and
25three times</td>
26</tr>
27<tr align="left" valign=top>
28<th>Default Behavior</th>
29<td>Do nothing; return SMFIS_CONTINUE.</td>
30</tr>
31</table>
32
33<!----------- Arguments ---------->
34<tr><th valign="top" align=left>ARGUMENTS</th><td>
35    <table border="1" cellspacing=0>
36    <tr bgcolor="#dddddd"><th>Argument</th><th>Description</th></tr>
37    <tr valign="top"><td>ctx</td>
38	<td>Opaque context structure.
39	</td></tr>
40    <tr valign="top"><td>helohost</td>
41	<td>Value passed to HELO/EHLO command, which should be
42		the domain name of the sending host (but is, in practice,
43		anything the sending host wants to send).
44	</td></tr>
45    </table>
46</td></tr>
47
48</table>
49
50<hr size="1">
51<font size="-1">
52Copyright (c) 2000, 2003 Sendmail, Inc. and its suppliers.
53All rights reserved.
54<br>
55By using this file, you agree to the terms and conditions set
56forth in the LICENSE.
57</font>
58</body>
59</html>
60