summaryrefslogtreecommitdiff
path: root/doc/sendmail.1
blob: 705034f112e58c01025510fb4ed96e3bf42e7f16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
.TH sendmail 1
.SH NAME
sendmail \- sendmail emulator interface for nullmailer
.SH SYNOPSIS
.B sendmail
[
.B flags
] [
.I recipients
] <
.I message
.SH DESCRIPTION
This program is a front end program for
.B nullmailer-inject
and
.BR nullmailer-smtpd .
It is used by programs that expect a
.I sendmail
interface for sending email.
After parsing the command-line arguments, this program executes either
.B nullmailer-inject
or
.B nullmailer-smtpd
depending on the presence of the
.I \-bs
option on the command-line.
See the documentation for
.B nullmailer-inject
for details on how messages are reformatted and queued.
.SH OPTIONS
.TP
.B \-B TYPE
.TP
.B \-C FILE
.TP
.B \-d DEBUG
.TP
.B \-h COUNT
.TP
.B \-i
.TP
.B \-L TAG
.TP
.B \-N DSN
.TP
.B \-n
.TP
.B \-O OPTION
.TP
.B \-o OPTION
.TP
.B \-p PROTOCOL
.TP
.B \-q TIME
.TP
.B \-R RETURN
.TP
.B \-U
.TP
.B \-V ENVID
.TP
.B \-v
.TP
.B \-X LOGFILE
Ignored for compatibility
.TP
.B \-bm
Read mail from standard input (default).
.TP
.B \-bp
List information about mail queue. This executes
.BR mailq .
.TP
.B \-bs
Use the SMTP protocol on standard input and standard output. This
executes
.BR nullmailer-smtpd .
.TP
.B \-F ADDRESS
Sets the full name of the sender.
.TP
.B \-f ADDRESS
Sets the envelope sender address.
.TP
.B \-r ADDRESS
An alternate and obsolete form of the \-f flag.
.TP
.B \-t
Read message for recipients and ignore the command-line arguments.
.SH SEE ALSO
mailq(1),
nullmailer-inject(1),
nullmailer-smtpd(1)