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.
83 reads a list of mailing list addresses,
86 If To+Cc includes one of those addresses (without regard to case),
88 adds a Mail-Followup-To field
89 with all the To+Cc addresses.
91 does not add Mail-Followup-To
92 to a message that already has one.
97 can contain any of the following letters:
100 Use address-comment style for the
105 uses name-address style.
108 Do not look at any incoming
113 is supplied, it sets the envelope sender address,
114 overriding all environment variables.
116 is deleted in any case.
124 is supplied, it overrides the usual
135 is supplied, it overrides the usual
141 Use a per-recipient VERP.
143 will append each recipient address to the envelope sender
144 of the copy going to that recipient.
147 Use a per-message VERP.
149 will append the current date and process ID to the envelope sender.
153 Send the message to all addresses given as
156 do not use header recipient addresses.
159 Send the message to all header recipient addresses.
160 For non-forwarded messages, this means
161 the addresses listed under
166 For forwarded messages, this means
167 the addresses listed under
177 Send the message to all addresses given as
182 arguments are supplied,
183 send the message to all header recipient addresses.
186 Send the message to all header recipient addresses,
187 and to all addresses given as
196 as the envelope sender address.
199 and all environment variables.
203 Feed the resulting message to
207 Print the message rather than feeding it to
216 otherwise the literal name
218 which is probably not what you want.
220 adds this name to any host name without dots,
230 .B QMAILDEFAULTDOMAIN
240 otherwise the literal name
242 which is probably not what you want.
244 adds this name to any address without a host name.
246 need not be the current host's name.
248 you may prefer that outgoing mail show
249 just your domain name.
253 environment variable overrides
257 Host name for Message-IDs.
261 otherwise the literal name
263 which is certainly not what you want.
265 need not be the current host's name.
266 For example, you may prefer to use fake
267 host names in Message-IDs.
270 must be a fully-qualified name within your domain,
271 and each host in your domain should use a different
276 environment variable overrides
284 otherwise the literal name
286 which is probably not what you want.
288 adds this name to any host name that ends with a plus sign,
293 ends with a plus sign.
294 If a host name does not have dots but ends with a plus sign,
303 environment variable overrides