summaryrefslogtreecommitdiff
path: root/esmtp.1
blob: 7af3d3bb334eafd0a365fb2e74a6e435c694c4a6 (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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
.\" Based on ssmtp.1 and sendmail.8 man pages of the sSMTP and 
.\" sendmail distributions respectively.
.\" 
.\" Portions are
.\"     Copyright (c) 1998-2002 Sendmail, Inc. and its suppliers.
.\"         All rights reserved.
.\"     Copyright (c) 1983, 1997 Eric P. Allman.  All rights reserved.
.\"     Copyright (c) 1988, 1991, 1993
.\"         The Regents of the University of California.  All rights reserved.
.TH ESMTP 1

.SH NAME
esmtp
\-
libESMTP to Sendmail compatibility interface

.SH SYNOPSIS
\fBesmtp\fR [\fIflags\fR] [\fIaddress ...\fR]
\fBsendmail\fR [\fIflags\fR] [\fIaddress ...\fR]

\fBmailq\fR
\fBsendmail -bp\fR

\fBnewaliases\fR
\fBsendmail -I\fR

.SH DESCRIPTION
\fBEsmtp\fR is a send-only \fBsendmail\fR emulator for machines which normally
retrieve their mail up from a centralized mailhub using programs such as
\fBfetchmail\fR.

\fBEsmtp\fR does not attempt to provide all the functionality of
\fBsendmail\fR: it is intended to be used by other mail user agents as
\fBmutt\fR.

.SH OPTIONS
Most \fBsendmail\fR options are irrelevent to \fBesmtp\fR .  Those marked
``ignored'' or ``default'' have no effect on mail transfer.  Those marked
``unsupported'' are fatal errors.

.TP
\fB\-Ac\fR (ignored)
Use submit.cf even if the operation mode does not indicate an initial mail
submission.

.TP
\fB\-Am\fR (ignored)
Use sendmail.cf even if the operation mode indicates an initial mail
submission.

.TP
\fB\-B\fR \fItype\fR (ignored)
Set the body type to \fItype\fR.  Current legal values are 7BIT or 8BITMIME.

.TP
\fB\-ba\fR (unsupported)
Go into ARPANET mode.

.TP
\fB\-bd\fR (unsupported)
Run as a daemon.

.TP
\fB\-bD\fR (unsupported)
Same as \fB\-bd\fR except runs in foreground.

.TP
\fB\-bh\fR (unsupported)
Print the persistent host status database.

.TP
\fB\-bH\fR (unsupported)
Purge expired entries from the persistent host status database.

.TP
\fB\-bi\fR (ignored)
Initialize the alias database.

.TP
\fB\-bm\fR (default)
Deliver mail in the usual way.

.TP
\fB\-bp\fR (ignored)
Print a listing of the queue(s).

.TP
\fB\-bP\fR (unsupported)
Print number of entries in the queue(s); only available with shared memory
support.

.TP
\fB\-bs\fR (unsupported)
Use the SMTP protocol as described in RFC821 on standard input and output.  

.TP
\fB\-bt\fR (unsupported)
Run in address test mode.  

.TP
\fB\-bv\fR (unsupported)
Verify names only \- do not try to collect or deliver a message.

.TP
\fB\-C\fR \fIfile\fR
Use alternate configuration file.

.TP
\fB\-d\fR \fIX\fR (ignored)
Set debugging value to
\fIX\fR.

.TP
\fB\-F\fR \fIfullname\fR
Set the full name of the sender.

.TP
\fB\-f\fR \fIname\fR
Sets the name of the ``from'' person (i.e., the envelope sender of the mail).
This address may also be used in the From: header if that header is missing
during initial submission.  The envelope sender address is used as the
recipient for delivery status notifications and may also appear in a
Return-Path: header.

This address is also used to select from different identities in the
configuration file.

.TP
\fB\-G\fR (ignored)
Relay (gateway) submission of a message.

.TP
\fB\-h\fR \fIN\fR (ignored)
Set the hop count to \fIN\fR.

.TP
\fB\-i\fR (ignored)
Ignore dots alone on lines by themselves in incoming messages.
This should be set if you are reading data from a file.

.TP
\fB\-L\fR \fItag\fR (ignored)
Set the identifier used in syslog messages to the supplied \fItag\fR.

.TP
\f\-N\fR \fIdsn\fR
Set delivery status notification conditions to \fIdsn\fR, which can be `never'
for no notifications or a comma separated list of the values `failure' to be
notified if delivery failed, `delay' to be notified if delivery is delayed, and
`success' to be notified when the message is successfully delivered.

.TP
\fB\-n\fR (default)
Don't do aliasing.

.TP
\fB\-O\fP \fIoption\fR=\fIvalue\fR (ignored)
Set option \fIoption\fR to the specified \fIvalue\fR.  This form uses long
names.

.TP
\fB\-o\fR \fIx value\fR (ignored)
Set option \fIx\fR to the specified \fIvalue\fR.  This form uses single
character names only.  

.TP
\fB\-p\fR \fIprotocol\fR (ignored)
Set the name of the protocol used to receive the message.  

.TP
\fB\-q\fR[\fItime\fR] (ignored)
Process saved messages in the queue at given intervals.  

.TP
\fB\-qp\fR[\fItime\fR] (ignored)
Similar to \fB\-q\fItime\fR, except that instead of periodically forking a
child to process the queue, forks a single persistent child for each queue that
alternates between processing the queue and sleeping.

.TP
\fB\-qf\fR (ignored)
Process saved messages in the queue once and do not fork(), but run in the
foreground.

.TP
\fB\-qG\fR \fIname\fR (ignored)
Process jobs in queue group called \fIname\fR only.

.TP
\fB\-q\fR[\fI!\fR]\fBI\fR \fIsubstr\fR (ignored)
Limit processed jobs to those containing \fIsubstr\fR as a substring of the
queue id or not when \fI!\fR is specified.

.TP
\fB\-q\fR[\fI!\fR]\fBR\fR \fIsubstr\fR (ignored)
Limit processed jobs to those containing \fIsubstr\fR as a substring of one of
the recipients or not when \fI!\fR is specified.

.TP
\fB\-q\fR[\fI!\fR]\fBS\fR \fIsubstr\fR (ignored)
Limit processed jobs to those containing \fIsubstr\fR as a substring of the
sender or not when \fI!\fR is specified.

.TP
\fB\-R\fR \fIreturn\fR (ignored)
Set the amount of the message to be returned if the message bounces.  The
\fIreturn\fR parameter can be `full' to return the entire message or `hdrs' to
return only the headers.  In the latter case also local bounces return only the
headers.

.TP
\fB\-r\fR \fIname\fR
An alternate and obsolete form of the \fB\-f\fR flag.

.TP
\fB\-t\fR
Read message for recipients.  To:, Cc:, and Bcc: lines will be scanned for
recipient addresses.  The Bcc: line will be deleted before transmission.

.TP
\fB\-V\fR \fIenvid\fR (ignored)
Set the original envelope id.  

.TP
\fB\-v\fR
Go into verbose mode.  

.TP
\fB\-X\fR \fIlogfile\fR
Log all traffic in and out of mailers in the indicated log file.

.TP
\fB\-\-\fR
Stop processing command flags and use the rest of the arguments as
addresses.

.SH FILES
.TP
 ~/.esmtprc
configuration file

.SH SEE ALSO
sendmail(1),
fetchmail(1)

.SH AUTHORS
José Fonseca
.PP
Brian Stafford