xref: /freebsd/contrib/sendmail/libmilter/docs/xxfi_helo.html (revision ec0ea6efa1ad229d75c394c1a9b9cac33af2b1d3)
1<HTML>
2<HEAD><TITLE>xxfi_helo</TITLE></HEAD>
3<BODY>
4<!--
5$Id: xxfi_helo.html,v 1.13 2013-11-22 20:51:39 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</TD></TR>
38
39<!----------- Arguments ---------->
40<TR><TH valign="top" align=left>ARGUMENTS</TH><TD>
41    <TABLE border="1" cellspacing=0>
42    <TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR>
43    <TR valign="top"><TD>ctx</TD>
44	<TD>Opaque context structure.
45	</TD></TR>
46    <TR valign="top"><TD>helohost</TD>
47	<TD>Value passed to HELO/EHLO command, which should be
48		the domain name of the sending host (but is, in practice,
49		anything the sending host wants to send).
50	</TD></TR>
51    </TABLE>
52</TD></TR>
53
54</TABLE>
55
56<HR size="1">
57<FONT size="-1">
58Copyright (c) 2000, 2003, 2005 Proofpoint, Inc. and its suppliers.
59All rights reserved.
60<BR>
61By using this file, you agree to the terms and conditions set
62forth in the LICENSE.
63</FONT>
64</BODY>
65</HTML>
66