---
name: "qmail-lspawn"
section: "8"
platform: "linux"
package: "qmail"
version: "1.06-6.2~deb10u1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/qmail-lspawn"
---

# qmail-lspawn(8)

schedule local deliveries

## NAME

qmail-lspawn - schedule local deliveries

## SYNOPSIS

**qmail-lspawn** *defaultdelivery*

## DESCRIPTION

**qmail-lspawn** reads a series of local delivery commands from descriptor 0, invokes **qmail-local** to perform the deliveries, and prints the results to descriptor 1. It passes *defaultdelivery* to **qmail-local** as the default delivery instruction.

**qmail-lspawn** invokes **qmail-local** asynchronously, so the results may not be in the same order as the commands.

For each recipient address, **qmail-lspawn** finds out which local user controls that address. It first checks the **qmail-users** mechanism; if the address is not listed there, it invokes **qmail-getpw**. **qmail-lspawn** then runs **qmail-local** under the user's uid and gid. It does not set up any supplementary groups.

**qmail-lspawn** treats an empty mailbox name as a trash address.

## SEE ALSO

[envelopes(5)](/envelopes/5.md), [qmail-users(5)](/qmail-users/5.md), [qmail-getpw(8)](/qmail-getpw/8.md), [qmail-send(8)](/qmail-send/8.md), [qmail-local(8)](/qmail-local/8.md)
