summaryrefslogtreecommitdiffstats
path: root/tcp-env.1
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2013-02-04 00:08:53 +0100
committermanuel <manuel@mausz.at>2013-02-04 00:08:53 +0100
commit69aec538b456402170dc723af417ba5c05389c32 (patch)
treee6f34c543f17c6392447ea337b2e2868212424d1 /tcp-env.1
downloadqmail-69aec538b456402170dc723af417ba5c05389c32.tar.gz
qmail-69aec538b456402170dc723af417ba5c05389c32.tar.bz2
qmail-69aec538b456402170dc723af417ba5c05389c32.zip
qmail 1.03 import
Diffstat (limited to 'tcp-env.1')
-rw-r--r--tcp-env.167
1 files changed, 67 insertions, 0 deletions
diff --git a/tcp-env.1 b/tcp-env.1
new file mode 100644
index 0000000..edd46f2
--- /dev/null
+++ b/tcp-env.1
@@ -0,0 +1,67 @@
1.TH tcp-env 1
2.SH NAME
3tcp-env \- set up TCP-related environment variables
4.SH SYNOPSIS
5.B tcp-env
6[
7.B \-rR
8]
9[
10.B \-t\fItimeout
11]
12.I program
13[
14.I arg ...
15]
16.SH DESCRIPTION
17The input for
18.B tcp-env
19must be a TCP connection.
20.B tcp-env
21finds out information about that connection,
22puts the information into several environment variables
23as described in
24.B tcp-environ(5),
25and runs
26.I program
27with the given arguments.
28
29Usually
30.B tcp-env
31is run from
32.BR inetd .
33It might instead be run from another server
34that already sets up the right environment variables;
35if
36.B PROTO
37is set to
38.B TCP
39when
40.B tcp-env
41is invoked,
42.B tcp-env
43assumes that all the other variables are set up properly,
44and it does not check whether the input is a TCP connection.
45.SH OPTIONS
46.TP
47.B \-r
48(Default.)
49Attempt to obtain
50.B TCPREMOTEINFO
51from the remote host.
52.TP
53.B \-R
54Do not attempt to obtain
55.B TCPREMOTEINFO
56from the remote host.
57.TP
58.B \-t\fItimeout
59Give up on the
60.B TCPREMOTEINFO
61connection attempt after
62.I timeout
63seconds.
64Default: 30.
65.SH "SEE ALSO"
66tcp-environ(5),
67inetd(8)