summaryrefslogtreecommitdiff
path: root/esmtp.1
blob: 822f9fe180591cac8c7229a8202bf08b54147cf5 (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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
.\" 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

.SH SUMMARY
libESMTP to Sendmail compatibility interface

.SH SYNOPSIS
.B esmtp
.RI "[ " flags " ] [ " address " "  ... " ]"
.br

.SH DESCRIPTION
.B Esmtp
is a send-only 
.B sendmail
emulator for machines which normally retrieve their mail
up from a centralized mailhub
using programs such as
.B fetchmail .
.PP
.B Esmtp
does not attempt to provide all the functionality of 
.B sendmail
: it is intended to be used by other 
mail user agents as 
.B mutt .

.SH OPTIONS
Most 
.B sendmail
options are irrelevent to 
.B esmtp .
Those marked ``ignored'' or ``default'' have no effect on mail transfer. 
Those marked ``unsupported'' are fatal errors.

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

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

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

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

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

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

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

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

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

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

.TP
.B \-bp
(unsupported)
Print a listing of the queue(s).

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

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

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

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

.TP
.BI \-C file
(ignored)
Use alternate configuration file.

.TP
.BI \-d X
(ignored)
Set debugging value to
.IR X .
.ne 1i

.TP
.BI \-F fullname
Set the full name of the sender.

.TP
.BI \-f name
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.

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

.TP
.BI \-h N
(ignored)
Set the hop count to
.IR N .

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

.TP
.BI "\-L " tag
(ignored)
Set the identifier used in syslog messages to the supplied
.IR tag .

.TP
.BI "\-N " dsn
Set delivery status notification conditions to
.IR dsn ,
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
.B \-n
(default)
Don't do aliasing.

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

.TP
.BI \-o "x value"
(ignored)
Set option
.I x
to the specified
.IR value .
This form uses single character names only.  

.TP
.BI \-p protocol
(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,
sendmail forks a single persistent child for each queue
that alternates between processing the queue and sleeping.

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

.TP
\fB\-q\fRG name
(ignored)
Process jobs in queue group called
.I name
only.

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

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

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

.TP
.BI "\-R " return
(ignored)
Set the amount of the message to be returned 
if the message bounces.
The
.I return
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
.BI \-r name
An alternate and obsolete form of the
.B \-f
flag.

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

.TP
.BI "\-V " envid
(ignored)
Set the original envelope id.  

.TP
.B \-v
Go into verbose mode.  

.TP
.BI "\-X " logfile
(ignored)
Log all traffic in and out of mailers in the indicated log file.

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

.SH FILES
.TP
 ~/.esmtprc
configuration file

.SH SEE ALSO
fetchmail(1)

.SH DIAGNOSTICS

.SH AUTHORS
José Fonseca
.PP
Brian Stafford

.SH BUGS
.B esmtp
ignores most of sendmail options.