---
name: "mail.mda"
section: "8"
platform: "linux"
package: "opensmtpd"
version: "7.9.0p0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux", "openbsd"]
url: "https://new.carta.tech/mail.mda"
---

# mail.mda(8)

deliver mail to a program

## NAME

**mail.mda** – deliver mail to a program

## SYNOPSIS

**mail.mda** *program*

## DESCRIPTION

**mail.mda** executes the program and its parameters. The program must read from the standard input up to an end-of-file and acknowledge delivery success or failure with its exit status.

## EXIT STATUS

The **mail.mda** utility exits 0 on success, and \>0 if an error occurs.

## SEE ALSO

[mail(1)](/mail/1.md), [smtpd(8)](/smtpd/8.md)
