chiark / gitweb /
Merge branches 'idx/verh' and 'idx/qmqpc'
[qmail] / preline.1
CommitLineData
2117e02e
MW
1.TH preline 1
2.SH NAME
3preline \- prepend lines to message
4.SH SYNOPSIS
5in
6.BR .qmail\fIext :
7.B | preline \fIcommand
8.SH DESCRIPTION
9.B preline
10feeds each incoming mail message through
11.IR command .
12At the top of each message it inserts
13a UUCP-style
14.B From_
15line, a
16.B Return-Path
17line, and a
18.B Delivered-To
19line.
20
21.B preline
22is useful for
23.B procmail
24and
25ELM's
26.BR filter ,
27which
28do not understand the
29.B qmail-command
30environment variables.
31.SH OPTIONS
32.TP
33.B \-d
34Do not include the
35.B Delivered-To
36line. You should use this option when the
37recipient of the incoming mail message is actually under remote control,
38but was sent here through
39.B control/virtualdomains
40for manual routing.
41.TP
42.B \-f
43Do not include the
44.B From_
45line. You should use this option except for
46.IR command s
47that create
48.I mbox
49files.
50.TP
51.B \-r
52Do not include the
53.B Return-Path
54line.
55.SH "SEE ALSO"
56mbox(5),
57qmail-command(8)