3 qmail-inject \- preprocess and send a mail message
15 reads a mail message from its standard input,
16 adds appropriate information to the message header,
20 to one or more recipients.
24 for information on how
26 rewrites header fields.
30 It exits 100 if it was invoked improperly
31 or if there is a severe syntax error in the message.
32 It exits 111 for temporary errors.
33 .SH "ENVIRONMENT VARIABLES"
34 For the convenience of users who do not run
38 takes many options through environment variables.
42 header field is set by
48 whichever comes first.
50 The host name is normally set by the
53 but can be overridden with
64 The default envelope sender address is the same as the
68 but it can be overridden with
72 It may also be modified by the
76 letters described below.
77 Bounces will be sent to this address.
82 can contain any of the following letters:
85 Use address-comment style for the
90 uses name-address style.
93 Do not look at any incoming
98 is supplied, it sets the envelope sender address,
99 overriding all environment variables.
101 is deleted in any case.
109 is supplied, it overrides the usual
120 is supplied, it overrides the usual
126 Use a per-recipient VERP.
128 will append each recipient address to the envelope sender
129 of the copy going to that recipient.
132 Use a per-message VERP.
134 will append the current date and process ID to the envelope sender.
138 Send the message to all addresses given as
141 do not use header recipient addresses.
144 Send the message to all header recipient addresses.
145 For non-forwarded messages, this means
146 the addresses listed under
151 For forwarded messages, this means
152 the addresses listed under
162 Send the message to all addresses given as
167 arguments are supplied,
168 send the message to all header recipient addresses.
171 Send the message to all header recipient addresses,
172 and to all addresses given as
181 as the envelope sender address.
184 and all environment variables.
188 Feed the resulting message to
192 Print the message rather than feeding it to
201 otherwise the literal name
203 which is probably not what you want.
205 adds this name to any host name without dots,
215 .B QMAILDEFAULTDOMAIN
225 otherwise the literal name
227 which is probably not what you want.
229 adds this name to any address without a host name.
231 need not be the current host's name.
233 you may prefer that outgoing mail show
234 just your domain name.
238 environment variable overrides
242 Host name for Message-IDs.
246 otherwise the literal name
248 which is certainly not what you want.
250 need not be the current host's name.
251 For example, you may prefer to use fake
252 host names in Message-IDs.
255 must be a fully-qualified name within your domain,
256 and each host in your domain should use a different
261 environment variable overrides
269 otherwise the literal name
271 which is probably not what you want.
273 adds this name to any host name that ends with a plus sign,
278 ends with a plus sign.
279 If a host name does not have dots but ends with a plus sign,
288 environment variable overrides