xref: /openbsd/usr.sbin/smtpd/sendmail.8 (revision 91f110e0)
1.\"	$OpenBSD: sendmail.8,v 1.2 2014/02/04 17:47:02 jmc Exp $
2.\"
3.\" Copyright (C) 2013 Ryan Kavanagh <rak@debian.org>
4.\" All rights reserved.
5.\"
6.\" Permission to use, copy, modify, and/or distribute this software for any
7.\" purpose with or without fee is hereby granted, provided that the above
8.\" copyright notice and this permission notice appear in all copies.
9.\"
10.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17.Dd $Mdocdate: February 4 2014 $
18.Dt SENDMAIL 8
19.Os
20.Sh NAME
21.Nm sendmail
22.Nd a mail enqueuer for
23.Xr smtpd 8
24.Sh SYNOPSIS
25.Nm
26.Op Fl tv
27.Op Fl F Ar name
28.Op Fl f Ar from
29.Ar to ...
30.Sh DESCRIPTION
31The
32.Nm
33utility is a local enqueuer for the
34.Xr smtpd 8
35daemon,
36compatible with
37.Xr mailwrapper 8 .
38The message is read on standard input (stdin) until
39.Nm
40encounters an end-of-file.
41The
42.Nm
43enqueuer is not intended to be used directly to send mail,
44but rather via a frontend known as a mail user agent.
45.Pp
46Unless the optional
47.Fl t
48flag is specified,
49one or more recipients must be specified on the command line.
50.Pp
51The options are as follows:
52.Bl -tag -width Ds
53.It Fl F Ar name
54Set the sender's full name.
55.It Fl f Ar from
56Set the sender's address.
57.It Fl t
58Read the message's To:, Cc:, and Bcc: fields for recipients.
59The Bcc: field will be deleted before sending.
60.It Fl v
61Enable verbose output.
62.El
63.Pp
64To maintain compatibility with Sendmail, Inc.'s implementation of
65.Nm ,
66various other flags are accepted,
67but have no effect.
68.Sh EXIT STATUS
69.Ex -std
70.Sh SEE ALSO
71.Xr smtpctl 8 ,
72.Xr smtpd 8
73.Sh AUTHORS
74.Sy OpenSMTPD
75is primarily developed by Gilles Chehade,
76Eric Faurot,
77and Charles Longeau,
78with contributions from various
79.Ox
80hackers.
81It is distributed under the ISC license.
82.Pp
83This manpage was written by
84.An Ryan Kavanagh
85.Aq Mt rak@debian.org
86for the Debian project and is distributed under the ISC license.
87