xref: /freebsd/contrib/sendmail/libmilter/docs/xxfi_helo.html (revision 1669d8afc64812c8d2d1d147ae1fd42ff441e1b1)
1<HTML>
2<HEAD><TITLE>xxfi_helo</TITLE></HEAD>
3<BODY>
4<!--
5$Id: xxfi_helo.html,v 1.12 2006/12/21 18:30:36 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=100>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