?? qmail-inject.8
字號:
.TH qmail-inject 8.SH NAMEqmail-inject \- preprocess and send a mail message.SH SYNOPSIS.B qmail-inject[.B \-nNaAhH] [.B \-f\fIsender] [.I recip ...].SH DESCRIPTION.B qmail-injectreads a mail message from its standard input,adds appropriate information to the message header,and invokes.B qmail-queueto send the messageto one or more recipients.See.B qmail-header(5)for information on how.B qmail-injectrewrites header fields..B qmail-injectnormally exits 0.It exits 100 if it was invoked improperlyor if there is a severe syntax error in the message.It exits 111 for temporary errors..SH "ENVIRONMENT VARIABLES"For the convenience of users who do not run.B qmail-injectdirectly,.B qmail-injecttakes many options through environment variables.The user name in the.B Fromheader field is set by.BR QMAILUSER ,.BR MAILUSER ,.BR USER ,or.BR LOGNAME ,whichever comes first.The host name is normally set by the.I defaulthostcontrolbut can be overridden with.B QMAILHOSTor.BR MAILHOST .The personal name is.BR QMAILNAME ,.BR MAILNAME ,or.BR NAME .The default envelope sender address is the same as thedefault.B Fromaddress,but it can be overridden withand.BR QMAILSHOST .It may also be modified by the.B rand.B mletters described below.Bounces will be sent to this address.If.B QMAILMFTFILEis set,.B qmail-injectreads a list of mailing list addresses,one per line,from that file.If To+Cc includes one of those addresses (without regard to case),.B qmail-injectadds a Mail-Followup-To fieldwith all the To+Cc addresses..B qmail-injectdoes not add Mail-Followup-Toto a message that already has one.The.B QMAILINJECTenvironment variablecan contain any of the following letters:.TP.B cUse address-comment style for the.B Fromfield.Normally.B qmail-injectuses name-address style..TP.B sDo not look at any incoming.B Return-Pathfield.Normally, if.B Return-Pathis supplied, it sets the envelope sender address,overriding all environment variables..B Return-Pathis deleted in any case..TP.B fDelete any incoming.B Fromfield.Normally, if.B Fromis supplied, it overrides the usual.B Fromfield created by.BR qmail-inject ..TP.B iDelete any incoming.B Message-IDfield.Normally, if.B Message-IDis supplied, it overrides the usual.B Message-IDfield created by.BR qmail-inject ..TP.B rUse a per-recipient VERP..B qmail-injectwill append each recipient address to the envelope senderof the copy going to that recipient..TP.B mUse a per-message VERP..B qmail-injectwill append the current date and process ID to the envelope sender..SH OPTIONS.TP.B \-aSend the message to all addresses given as.I reciparguments;do not use header recipient addresses..TP.B \-hSend the message to all header recipient addresses.For non-forwarded messages, this meansthe addresses listed under.BR To ,.BR Cc ,.BR Bcc ,.BR Apparently-To .For forwarded messages, this meansthe addresses listed under.BR Resent-To ,.BR Resent-Cc ,.BR Resent-Bcc .Do not use any.I reciparguments..TP.B \-A(Default.)Send the message to all addresses given as.I reciparguments.If no.I reciparguments are supplied,send the message to all header recipient addresses..TP.B \-HSend the message to all header recipient addresses,and to all addresses given as.I reciparguments..TP.B \-f\fIsenderPass.I sender.B qmail-queueas the envelope sender address.This overrides.B Return-Pathand all environment variables..TP.B \-N(Default.)Feed the resulting message to.BR qmail-queue ..TP.B \-nPrint the message rather than feeding it to.BR qmail-queue ..SH "CONTROL FILES".TP 5.I defaultdomainDefault domain name.Default:.IR me ,if that is supplied;otherwise the literal name.BR defaultdomain ,which is probably not what you want..B qmail-injectadds this name to any host name without dots,including.I defaulthostif.I defaulthostdoes not have dots.(Exception: see.IR plusdomain .)The.B QMAILDEFAULTDOMAINenvironment variableoverrides.IR defaultdomain ..TP 5.I defaulthostDefault host name.Default:.IR me ,if that is supplied;otherwise the literal name.BR defaulthost ,which is probably not what you want..B qmail-injectadds this name to any address without a host name..I defaulthostneed not be the current host's name.For example,you may prefer that outgoing mail showjust your domain name.The.B QMAILDEFAULTHOSTenvironment variable overrides.IR defaulthost ..TP 5.I idhostHost name for Message-IDs.Default:.IR me ,if that is supplied;otherwise the literal name.BR idhost ,which is certainly not what you want..I idhostneed not be the current host's name.For example, you may prefer to use fakehost names in Message-IDs.However,.I idhostmust be a fully-qualified name within your domain,and each host in your domain should use a different.IR idhost .The.B QMAILIDHOSTenvironment variable overrides.IR idhost ..TP 5.I plusdomainPlus domain name.Default:.IR me ,if that is supplied;otherwise the literal name.BR plusdomain ,which is probably not what you want..B qmail-injectadds this name to any host name that ends with a plus sign,including.I defaulthostif.I defaulthostends with a plus sign.If a host name does not have dots but ends with a plus sign,.B qmail-injectuses.IR plusdomain ,not.IR defaultdomain .The.B QMAILPLUSDOMAINenvironment variable overrides.IR plusdomain ..SH "SEE ALSO"addresses(5),qmail-control(5),qmail-header(5),qmail-queue(8)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -