---
name: "rmail"
section: "8"
platform: "linux"
package: "rmail"
version: "8.18.1-6+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/rmail/8"
---

# rmail(8)

handle remote mail received via uucp

## NAME

rmail - handle remote mail received via uucp

## SYNOPSIS

**rmail** \[**-D** *domain*\] \[**-T**\] *user ...*

## DESCRIPTION

**Rmail** interprets incoming mail received via [uucp(1)](/uucp/1.md), collapsing \`\`From'' lines in the form generated by [mail.local(8)](/mail.local/8.md) into a single line of the form \`\`return-path!sender'', and passing the processed mail on to [sendmail(8)](/sendmail/8.md).

**Rmail** is explicitly designed for use with uucp and sendmail.

### Flags

- **-D**

  Use the specified *domain* instead of the default domain of \`\`UUCP''.

- **-T**

  Turn on debugging.

## SEE ALSO

[uucp(1)](/uucp/1.md), [mail.local(8)](/mail.local/8.md), [sendmail(8)](/sendmail/8.md)

## HISTORY

The **rmail** program appeared in 4.2BSD.

## BUGS

**Rmail** should not reside in /bin.
