3 qmail-command \- user-specified mail delivery program
10 will, upon your request,
11 feed each incoming mail message through a program of your choice.
13 When a mail message arrives,
17 in your home directory.
18 It makes the message available on
23 The mail message does not begin with
33 uses the same file descriptor for every delivery
36 file, so it is not safe for
39 reads the message in the background while the parent exits.
42 exit codes are interpreted as follows:
43 0 means that the delivery was successful;
44 99 means that the delivery was successful,
47 should ignore all further delivery instructions;
48 100 means that the delivery failed permanently (hard error);
49 111 means that the delivery failed but should be tried again
50 in a little while (soft error).
51 Currently 64, 65, 70, 76, 77, 78, and 112 are considered hard errors,
52 and all other codes are considered soft errors,
55 should avoid relying on this.
58 supplies several useful environment variables to
61 is the envelope sender address.
63 is the forwarding envelope sender address,
67 is the envelope recipient address,
73 is your home directory,
78 part of the recipient address.
91 following the first dash;
94 following the second dash;
97 following the third dash.
117 These environment variables are not quoted.
118 They may contain special characters.
119 They are under the control of a possibly malicious remote user.