File: preline.1

package info (click to toggle)
qmail 1.01-5
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 2,188 kB
  • ctags: 1,711
  • sloc: ansic: 13,993; makefile: 1,914; perl: 448; sh: 377
file content (57 lines) | stat: -rw-r--r-- 907 bytes parent folder | download | duplicates (11)
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 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)