xref: /freebsd/contrib/sendmail/libmilter/docs/xxfi_helo.html (revision 74bf4e164ba5851606a27d4feff27717452583e5)
1<html>
2<head><title>xxfi_helo</title></head>
3<body>
4<!--
5$Id: xxfi_helo.html,v 1.8 2003/03/05 19:57:55 ca Exp $
6-->
7<h1>xxfi_helo</h1>
8
9<table border="0" cellspacing=4 cellpadding=4>
10<!---------- Synopsis ----------->
11<tr><th valign="top" align=left width=150>SYNOPSIS</th><td>
12<pre>
13#include &lt;libmilter/mfapi.h&gt;
14sfsistat (*xxfi_helo)(
15	SMFICTX * ctx,
16	char * helohost
17);
18</pre>
19Handle the HELO/EHLO command.
20</td></tr>
21
22<!----------- Description ---------->
23<tr><th valign="top" align=left>DESCRIPTION</th><td>
24<table border="1" cellspacing=1 cellpadding=4>
25<tr align="left" valign=top>
26<th width="80">Called When</th> <td>xxfi_helo is called whenever the client
27sends a HELO/EHLO command.  It may therefore be called between zero and
28three times</td>
29</tr>
30<tr align="left" valign=top>
31<th>Default Behavior</th>
32<td>Do nothing; return SMFIS_CONTINUE.</td>
33</tr>
34</table>
35
36<!----------- Arguments ---------->
37<tr><th valign="top" align=left>ARGUMENTS</th><td>
38    <table border="1" cellspacing=0>
39    <tr bgcolor="#dddddd"><th>Argument</th><th>Description</th></tr>
40    <tr valign="top"><td>ctx</td>
41	<td>Opaque context structure.
42	</td></tr>
43    <tr valign="top"><td>helohost</td>
44	<td>Value passed to HELO/EHLO command, which should be
45		the domain name of the sending host (but is, in practice,
46		anything the sending host wants to send).
47	</td></tr>
48    </table>
49</td></tr>
50
51</table>
52
53<hr size="1">
54<font size="-1">
55Copyright (c) 2000, 2003 Sendmail, Inc. and its suppliers.
56All rights reserved.
57<br>
58By using this file, you agree to the terms and conditions set
59forth in the LICENSE.
60</font>
61</body>
62</html>
63