chiark / gitweb /
Merge branches 'idx/verh' and 'idx/qmqpc'
[qmail] / bouncesaying.1
1 .TH bouncesaying 1
2 .SH NAME
3 bouncesaying \- perhaps bounce each incoming message
4 .SH SYNOPSIS
5 in
6 .BR .qmail :
7 .B |bouncesaying
8 .I error
9 [
10 .I program
11 [
12 .I arg ...
13 ]
14 ]
15 .SH DESCRIPTION
16 .B bouncesaying
17 feeds each new mail message to
18 .I program
19 with the given arguments.
20 If
21 .I program
22 exits 0,
23 .B bouncesaying
24 prints
25 .I error
26 and bounces the message.
27
28 If
29 .I program
30 exits 111,
31 .B bouncesaying
32 exits 111,
33 so delivery will be retried later.
34
35 If
36 .I program
37 exits anything else
38 (or does not exist),
39 .B bouncesaying
40 exits 0,
41 so the rest of
42 .B .qmail
43 will be processed as usual.
44
45 Note that
46 it is not safe for
47 .I program
48 to fork a child that
49 reads the message in the background.
50
51 If
52 .I program
53 is not supplied,
54 .B bouncesaying
55 always bounces the message:
56
57 .EX
58    |bouncesaying 'This address no longer accepts mail.'
59 .EE
60
61 .B WARNING:
62 If you create a
63 .B .qmail
64 file to enable
65 .BR bouncesaying ,
66 make sure to also add a line specifying delivery to your normal mailbox.
67 .SH "SEE ALSO"
68 condredirect(1),
69 except(1),
70 dot-qmail(5),
71 qmail-command(8)