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).
52 Currently 64, 65, 70, 76, 77, 78, and 112 are considered hard errors,
53 and all other codes are considered soft errors,
56 should avoid relying on this.
57 .SH "ENVIRONMENT VARIABLES"
59 supplies several useful environment variables to
62 These environment variables are not quoted.
63 They may contain special characters.
64 They are under the control of a possibly malicious remote user.
67 is the envelope sender address.
69 is the forwarding envelope sender address,
73 is the envelope recipient address,
79 is your home directory,
84 part of the recipient address.
97 preceding the last dot;
101 preceding the second-to-last dot;
105 preceding the third-to-last dot.
110 following the first dash;
113 following the second dash;
116 following the third dash.
126 the file name does not end with