sendmail8
A mail enqueuer for smtpd(8)
Usage
sendmail [-tv]
[-F
name]
[-f
from]
to ...
Overview
The sendmail utility is a local enqueuer for the smtpd(8) daemon, compatible with mailwrapper(8). The message is read on standard input (stdin) until sendmail encounters an end-of-file. The sendmail enqueuer is not intended to be used directly to send mail, but rather via a frontend known as a mail user agent.
Unless the optional -t flag is specified, one or more recipients must be specified on the command line.
The options are as follows:
-
-F name -
Set the sender's full name.
-
-f from -
Set the sender's address.
-
-t -
Read the message's To:, Cc:, and Bcc: fields for recipients. The Bcc: field will be deleted before sending.
-
-v -
Enable verbose output.
To maintain compatibility with Sendmail, Inc.'s implementation of sendmail, various other flags are accepted, but have no effect.
Exit status
The sendmail utility exits 0 on success, and >0 if an error occurs.
Releases
61 releases since OpenBSD 2.1; the text changed 25 times.
- 2.1
- 2.2–2.3
- 2.4
- 2.5
- 2.6
- 2.7
- 2.8
- 2.9
- 3.0–3.1
- 3.2
- 3.3
- 3.4
- 3.5
- 3.6
- 3.7
- 3.8–4.1
- 4.2–4.3
- 4.4–4.6
- 4.7–4.8
- 4.9
- 5.0–5.2
- 5.3–5.4
- 5.5
- 5.6
- 5.7–5.8
- 5.9–8.0
-- until OpenBSD 5.6;
-Ac until OpenBSD 5.6;
-Am until OpenBSD 5.6;
-B until OpenBSD 5.6;
-C until OpenBSD 5.6;
-D until OpenBSD 5.6;
-G until OpenBSD 5.6;
-L until OpenBSD 5.6;
-N until OpenBSD 5.6;
-O until OpenBSD 5.6;
-Q until OpenBSD 5.6;
-R until OpenBSD 5.6;
-U until OpenBSD 2.9;
-V until OpenBSD 5.6;
-X until OpenBSD 5.6;
-bD until OpenBSD 5.6;
-bH until OpenBSD 5.6;
-bP until OpenBSD 5.6;
-ba until OpenBSD 5.6;
-bd until OpenBSD 5.6;
-bh until OpenBSD 5.6;
-bi until OpenBSD 5.6;
-bm until OpenBSD 5.6;
-bp until OpenBSD 5.6;
-bs until OpenBSD 5.6;
-bt until OpenBSD 5.6;
-bv until OpenBSD 5.6;
-d until OpenBSD 5.6;
-h until OpenBSD 5.6;
-i until OpenBSD 5.6;
-n until OpenBSD 5.6;
-p until OpenBSD 5.6;
-q until OpenBSD 5.6;
-qG until OpenBSD 5.6;
-qI until OpenBSD 2.9;
-qR until OpenBSD 2.9;
-qS until OpenBSD 2.9;
-qf until OpenBSD 5.6;
-qp until OpenBSD 5.6;
-r until OpenBSD 5.6.