summaryrefslogtreecommitdiff
path: root/man/preline.1
blob: d324ff842eebe16b92b20e6d5562f7128859afb2 (plain)
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
.TH s/qmail: preline 1
.SH NAME
preline \- prepend lines to message
.SH SYNOPSIS
in
.BR .qmail\fIext :
.B | preline \fIcommand
.SH DESCRIPTION
.B preline
feeds each incoming mail message through
.IR command .
At the top of each message it inserts
a UUCP-style
.B From_
line, a
.B Return-Path
line, and a
.B Delivered-To
line.

.B preline
is useful for
.B procmail
and
ELM's
.BR filter ,
which
do not understand the
.B qmail-command
environment variables.
.SH OPTIONS
.TP
.B \-d
Do not include the
.B Delivered-To
line. You should use this option when the
recipient of the incoming mail message is actually under remote control,
but was sent here through
.B control/virtualdomains
for manual routing.
.TP
.B \-f
Do not include the
.B From_
line. You should use this option except for
.IR command s
that create
.I mbox
files.
.TP
.B \-r
Do not include the
.B Return-Path
line.
.SH "SEE ALSO"
mbox(5),
qmail-command(8)