2 <HEAD><TITLE>xxfi_header</TITLE></HEAD>
5 $Id: xxfi_header.html,v 1.17 2006/12/21 18:30:36 ca Exp $
9 <TABLE border="0" cellspacing=4 cellpadding=4>
10 <!---------- Synopsis ----------->
11 <TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD>
13 #include <libmilter/mfapi.h>
14 sfsistat (*xxfi_header)(
20 Handle a message header.
23 <!----------- Description ---------->
24 <TR><TH valign="top" align=left>DESCRIPTION</TH><TD>
25 <TABLE border="1" cellspacing=1 cellpadding=4>
26 <TR align="left" valign=top>
27 <TH width="80">Called When</TH>
28 <TD>xxfi_header is called once for each message header.</TD>
30 <TR align="left" valign=top>
31 <TH>Default Behavior</TH>
32 <TD>Do nothing; return SMFIS_CONTINUE.</TD>
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.
43 <TR valign="top"><TD>headerf</TD>
44 <TD> Header field name.
46 <TR valign="top"><TD>headerv</TD>
47 <TD>Header field value.
48 The content of the header may include folded white space,
49 i.e., multiple lines with following white space
50 where lines are separated by LF (not CR/LF).
51 The trailing line terminator (CR/LF) is removed.
56 <!----------- Notes ---------->
58 <TH valign="top" align=left>NOTES</TH>
61 <LI>Starting with sendmail 8.14, spaces after the colon in a header
62 field are preserved if requested using the flag
63 <A HREF="xxfi_negotiate.html#SMFIP_HDR_LEADSPC"><CODE>SMFIP_HDR_LEADSPC</CODE></A>.
67 From: sender <f@example.com>
68 To: user <t@example.com>
72 will be sent to a milter as
75 "From", " sender <f@example.com>"
76 "To", " user <t@example.com>"
82 <A HREF="xxfi_negotiate.html#SMFIP_HDR_LEADSPC"><CODE>SMFIP_HDR_LEADSPC</CODE></A>)
86 "From", "sender <f@example.com>"
87 "To", "user <t@example.com>"
92 <LI>Later filters will see header changes/additions made by earlier ones.
93 <LI>For much more detail about header format, please see
94 RFC <A href="http://www.rfc-editor.org/rfc/rfc822.html">822</A>
96 RFC <A href="http://www.rfc-editor.org/rfc/rfc2822.html">2822</A>
104 Copyright (c) 2000, 2003, 2006 Sendmail, Inc. and its suppliers.
107 By using this file, you agree to the terms and conditions set
108 forth in the LICENSE.