File: plugin-add-received.html

package info (click to toggle)
mailfront 2.12-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,072 kB
  • sloc: sh: 5,549; ansic: 5,083; makefile: 35
file content (65 lines) | stat: -rw-r--r-- 1,574 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<html>
<body>

<h2><a href="mailfront.html">mailfront</a></h2>

<h1>Plugin: add-received</h1>

<hr />

<p>This plugin adds headers to the start of the message as detailed
below.</p>

<h2>Configuration</h2>

<dl>

<dt><tt>$FIXUP_RECEIVED_HOST</tt></dt> <dd>Received host to match</dd>

<dt><tt>$FIXUP_RECEIVED_IP</tt></dt> <dd>Received IP to match</dd>

<dt><tt>$HEADER_ADD</tt></dt> <dd>Additional headers</dd>

<dt><tt>$PROTO</tt></dt> <dd>This and the following four environment
variables are inserted into their respective parts in the standard
<tt>Received:</tt> header described below.</dd>

<dt><tt>${$PROTO}LOCALHOST</tt></dt> <dd></dd>

<dt><tt>${$PROTO}LOCALIP</tt></dt> <dd></dd>

<dt><tt>${$PROTO}REMOTEHOST</tt></dt> <dd></dd>

<dt><tt>${$PROTO}REMOTEIP</tt></dt> <dd></dd>

</dl>

<h2>Sender Action</h2>

<p>None</p>

<h2>Recipient Action</h2>

<p>None</p>

<h2>Data Action</h2>

<p>If <tt>$FIXUP_RECEIVED_HOST</tt> and <tt>$FIXUP_RECEIVED_IP</tt> are
set and do not exactly match the current local host and IP, a
<tt>Received:</tt> header is added to show a transition from one to the
other.  Then a standard <tt>Received:</tt> header is added.  Finally, if
<tt>$HEADER_ADD</tt> is set, its contents are added to the message
headers.</p>

<p>The standard <tt>Received:</tt> header has the following format:</p>

<pre>Received: from <i>helo_domain</i> (<i>remotehost</i> [<i>remoteip</i>]
        by <i>localhost</i> ([<i>remoteip</i>])
        with <i>protocol</i> via <i>transport</i>; <i>date</i></pre>

<h2>Message Action</h2>

<p>None</p>

</body>
</html>