File: preline.1

package info (click to toggle)
qmail 1.03-14
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 2,648 kB
  • ctags: 1,885
  • sloc: ansic: 14,818; makefile: 2,198; sh: 605; perl: 537
file content (57 lines) | stat: -rw-r--r-- 907 bytes parent folder | download | duplicates (13)
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)