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

# preline(1)

prepend lines to message

## NAME

preline - prepend lines to message

## SYNOPSIS

in **.qmail*ext***: **\| preline *command***

## DESCRIPTION

**preline** feeds each incoming mail message through *command*. At the top of each message it inserts a UUCP-style **From\_** line, a **Return-Path** line, and a **Delivered-To** line.

**preline** is useful for **procmail** and ELM's **filter**, which do not understand the **qmail-command** environment variables.

## OPTIONS

- **-d**

  Do not include the **Delivered-To** line. You should use this option when the recipient of the incoming mail message is actually under remote control, but was sent here through **control/virtualdomains** for manual routing.

- **-f**

  Do not include the **From\_** line. You should use this option except for *command*s that create *mbox* files.

- **-r**

  Do not include the **Return-Path** line.

## SEE ALSO

[mbox(5)](/mbox/5.md), [qmail-command(8)](/qmail-command/8.md)
