| 1 | .TH qmail-lspawn 8 |
| 2 | .SH NAME |
| 3 | qmail-lspawn \- schedule local deliveries |
| 4 | .SH SYNOPSIS |
| 5 | .B qmail-lspawn |
| 6 | .I defaultdelivery |
| 7 | .SH DESCRIPTION |
| 8 | .B qmail-lspawn |
| 9 | reads a series of local delivery commands from descriptor 0, |
| 10 | invokes |
| 11 | .B qmail-local |
| 12 | to perform the deliveries, |
| 13 | and prints the results to descriptor 1. |
| 14 | It passes |
| 15 | .I defaultdelivery |
| 16 | to |
| 17 | .B qmail-local |
| 18 | as the default delivery instruction. |
| 19 | |
| 20 | .B qmail-lspawn |
| 21 | invokes |
| 22 | .B qmail-local |
| 23 | asynchronously, |
| 24 | so the results may not be in the same order as the commands. |
| 25 | |
| 26 | For each recipient address, |
| 27 | .B qmail-lspawn |
| 28 | finds out which local user controls that address. |
| 29 | It first checks the |
| 30 | .B qmail-users |
| 31 | mechanism; if the address is not listed there, it invokes |
| 32 | .BR qmail-getpw . |
| 33 | .B qmail-lspawn |
| 34 | then runs |
| 35 | .B qmail-local |
| 36 | under the user's uid and gid. |
| 37 | It does not set up any supplementary groups. |
| 38 | |
| 39 | .B qmail-lspawn |
| 40 | treats an empty mailbox name as a trash address. |
| 41 | .SH "SEE ALSO" |
| 42 | envelopes(5), |
| 43 | qmail-users(5), |
| 44 | qmail-getpw(8), |
| 45 | qmail-send(8), |
| 46 | qmail-local(8) |