xref: /freebsd/contrib/sendmail/libmilter/docs/xxfi_helo.html (revision d056fa046c6a91b90cd98165face0e42a33a5173)
1<html>
2<head><title>xxfi_helo</title></head>
3<body>
4<!--
5$Id: xxfi_helo.html,v 1.9 2005/08/30 23:41:45 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.
28It may therefore be called several times or even not at all;
29some restrictions can be imposed by the MTA configuration.
30</td>
31</tr>
32<tr align="left" valign=top>
33<th>Default Behavior</th>
34<td>Do nothing; return SMFIS_CONTINUE.</td>
35</tr>
36</table>
37
38<!----------- Arguments ---------->
39<tr><th valign="top" align=left>ARGUMENTS</th><td>
40    <table border="1" cellspacing=0>
41    <tr bgcolor="#dddddd"><th>Argument</th><th>Description</th></tr>
42    <tr valign="top"><td>ctx</td>
43	<td>Opaque context structure.
44	</td></tr>
45    <tr valign="top"><td>helohost</td>
46	<td>Value passed to HELO/EHLO command, which should be
47		the domain name of the sending host (but is, in practice,
48		anything the sending host wants to send).
49	</td></tr>
50    </table>
51</td></tr>
52
53</table>
54
55<hr size="1">
56<font size="-1">
57Copyright (c) 2000, 2003, 2005 Sendmail, Inc. and its suppliers.
58All rights reserved.
59<br>
60By using this file, you agree to the terms and conditions set
61forth in the LICENSE.
62</font>
63</body>
64</html>
65