2 <HEAD><TITLE>xxfi_header</TITLE></HEAD>
5 $Id: xxfi_header.html,v 1.18 2013-11-22 20:51:39 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>
37 <!----------- Arguments ---------->
38 <TR><TH valign="top" align=left>ARGUMENTS</TH><TD>
39 <TABLE border="1" cellspacing=0>
40 <TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR>
41 <TR valign="top"><TD>ctx</TD>
42 <TD>Opaque context structure.
44 <TR valign="top"><TD>headerf</TD>
45 <TD> Header field name.
47 <TR valign="top"><TD>headerv</TD>
48 <TD>Header field value.
49 The content of the header may include folded white space,
50 i.e., multiple lines with following white space
51 where lines are separated by LF (not CR/LF).
52 The trailing line terminator (CR/LF) is removed.
57 <!----------- Notes ---------->
59 <TH valign="top" align=left>NOTES</TH>
62 <LI>Starting with sendmail 8.14, spaces after the colon in a header
63 field are preserved if requested using the flag
64 <A HREF="xxfi_negotiate.html#SMFIP_HDR_LEADSPC"><CODE>SMFIP_HDR_LEADSPC</CODE></A>.
68 From: sender <f@example.com>
69 To: user <t@example.com>
73 will be sent to a milter as
76 "From", " sender <f@example.com>"
77 "To", " user <t@example.com>"
83 <A HREF="xxfi_negotiate.html#SMFIP_HDR_LEADSPC"><CODE>SMFIP_HDR_LEADSPC</CODE></A>)
87 "From", "sender <f@example.com>"
88 "To", "user <t@example.com>"
93 <LI>Later filters will see header changes/additions made by earlier ones.
94 <LI>For much more detail about header format, please see
95 RFC <A href="http://www.rfc-editor.org/rfc/rfc822.html">822</A>
97 RFC <A href="http://www.rfc-editor.org/rfc/rfc2822.html">2822</A>
105 Copyright (c) 2000, 2003, 2006 Proofpoint, Inc. and its suppliers.
108 By using this file, you agree to the terms and conditions set
109 forth in the LICENSE.