⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qmail-send.9

📁 linux下qmail的源码 本人加了一些注释
💻 9
字号:
.TH qmail-send 8.SH NAMEqmail-send \- deliver mail messages from the queue.SH SYNOPSIS.B qmail-send.SH DESCRIPTION.B qmail-sendhandles messages placed into the outgoing queue by.BR qmail-queue .It uses.B qmail-lspawnto deliver messages to local recipients and.B qmail-rspawnto deliver messages to remote recipients.If a message is temporarily undeliverable to one or more addresses,.B qmail-sendleaves it in the queue and tries the addresses again later..B qmail-sendprints a readable record of its activities to descriptor 0.It writes commands to.BR qmail-lspawn ,.BR qmail-rspawn ,and.B qmail-cleanon descriptors 1, 3, and 5,and reads responses from descriptors 2, 4, and 6..B qmail-sendis responsible for avoiding deadlock.If.B qmail-sendreceives a TERM signal,it will exit cleanly, after waiting(possibly more than a minute)for current delivery attempts to finish.If.B qmail-sendreceives an ALRM signal,it will reschedule every message in the queue for immediate delivery..SH "CONTROL FILES".B WARNING:.B qmail-sendreads its control files only when it starts.If you change the control files,you must stop and restart.BR qmail-send .Exception:If.B qmail-sendreceives a HUP signal,it will reread.I localsand.IR virtualdomains ..TP 5.I bouncefromBounce username.Default:.BR MAILER-DAEMON ..TP 5.I bouncehostBounce host.Default:.IR me ,if that is supplied;otherwise the literal name.BR bouncehost ,which is probably not what you want.If a message is permanently undeliverable,.B qmail-sendsends a.B single-bouncenotice back to the message's envelope sender.The notice is.B From: \fIbouncefrom\fB@\fIbouncehost\fR,although its envelope sender is empty..TP 5.I concurrencylocalMaximum number of simultaneous local delivery attempts.Default: 10.If 0, local deliveries will be put on hold..I concurrencylocalis limited at compile time toSPAWN..TP 5.I concurrencyremoteMaximum number of simultaneous remote delivery attempts.Default: 20.If 0, remote deliveries will be put on hold..I concurrencyremoteis limited at compile time toSPAWN..TP 5.I doublebouncehostDouble-bounce host.Default:.IR me ,if that is supplied;otherwise the literal name.BR doublebouncehost ,which is probably not what you want..TP 5.I doublebouncetoUser to receive double-bounces.Default:.BR postmaster .If a single-bounce notice is permanently undeliverable,.B qmail-sendsends a.B double-bouncenotice to.IR doublebounceto\fB@\fIdoublebouncehost .(If that bounces,.B qmail-sendgives up.).TP 5.I envnoathostPresumed domain name for addresses without @ signs.Default:.IR me ,if that is supplied;otherwise the literal name.BR envnoathost ,which is probably not what you want.If.B qmail-sendsees an envelope recipient address without an @ sign,it appends.B @\fIenvnoathost\fR..TP 5.I localsList of domain names that the current hostreceives mail for,one per line.Default:.IR me ,if that is supplied;otherwise.B qmail-sendrefuses to run.An address .I user@domainis considered local if.I domainis listed in.IR locals ..TP 5.I percenthackList of domain names where the percent hack is applied.If.I domainis listed in.IR percenthack ,any address of the form.I user%fqdn@domainis rewritten as.IR user@fqdn ..I usermay contain %,so the percent hack may be applied repeatedly..B qmail-sendhandles.I percenthackbefore.IR locals ..TP 5.I queuelifetimeNumber of secondsa message can stay in the queue.Default: 604800 (one week).After this time expires,.B qmail-sendwill try the message once more,but it will treat any temporary delivery failures aspermanent failures..TP 5.I virtualdomainsList of virtual users or domains, one per line.A virtual user has the form.IR user\fB@\fIdomain\fB:\fIprepend ,without any extra spaces.When.B qmail-sendsees the recipient address.IR user\fB@\fIdomain ,it converts it to.I prepend\fB-\fIuser\fB@\fIdomainand treats it as local.A virtual domain has the form.IR domain\fB:\fIprepend .It applies to any recipient address at.IR domain .For example, if.EX     nowhere.mil:joeBREAKfoo.EEis in.IR virtualdomains ,and a message arrives for.BR info@nowhere.mil ,.B qmail-sendwill rewrite the recipient address as.B joeBREAKfoo-info@nowhere.miland deliver the message locally..I virtualdomainsmay contain wildcards:.EX     .fax:uucpBREAKfax     :aliasBREAKcatchall     .nowhere.mil:joeBREAKfoo-host.EE.I virtualdomainsmay also contain exceptions:an empty.I prependmeans that.I domainis not a virtual domain..B qmail-sendhandles.I virtualdomainsafter.IR locals :if a domain is listed in.IR locals ,.I virtualdomainsdoes not apply..SH "SEE ALSO"nice(1),addresses(5),envelopes(5),qmail-control(5),qmail-log(5),qmail-queue(8),qmail-clean(8),qmail-lspawn(8),qmail-rspawn(8)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -