summaryrefslogtreecommitdiff
path: root/esmtp.1
blob: a7cd45cb7d2613db730f6893f026a0c2c33ef4fb (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
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
.\" 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.  Those marked ``simulated'' are not errors, but the result
is for the program to exit with an informative message. A sort of fatal
non-error.

.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
(ignored)
Go into 
ARPANET 
mode.  All input lines must end with a CR-LF, 
and all messages will be generated with a CR-LF at the end.  
Also, 
the ``From:'' and ``Sender:'' 
fields are examined for the name of the sender.

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

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

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

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

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

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

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

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

.TP
.B \-bs
(ignored)
Use the 
SMTP 
protocol as described in 
RFC821 
on standard input and output.  
This flag implies all the operations of the
.B \-ba
flag that are compatible with 
SMTP.

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

.TP
.B \-bv
(ignored)
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.
.B \-f
should only be used 
by ``trusted'' users 
(normally
.IR root ", " daemon ,
and
.IR network )
or if the person you are trying to become 
is the same as the person you are.
Otherwise,
an X-Authentication-Warning header
will be added to the message.

.TP
.BI \-G
(ignored)
Relay (gateway) submission of a message,
e.g., when
.BR rmail
calls
.B sendmail .

.TP
.BI \-h N
(ignored)
Set the hop count to
.IR N .
The hop count is incremented every time the mail is 
processed.
When it reaches a limit, 
the mail is returned with an error message,
the victim of an aliasing loop.  
If not specified, 
``Received:'' lines in the message are counted.

.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
(ignored)
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.  See below for more details.

.TP
.BI \-o "x value"
(ignored)
Set option
.I x
to the specified
.IR value .
This form uses single character names only.  
The short names are not described in this manual page; 
see the
.I "Sendmail Installation and Operation Guide"
for details.

.TP
.BI \-p protocol
(ignored)
Set the name of the protocol used to receive the message.  
This can be a simple protocol name such as ``UUCP'' 
or a protocol and hostname, such as ``UUCP:ucbvax''.

.TP
\fB\-q\fR[\fItime\fR] 
(ignored)
Process saved messages in the queue at given intervals.  
If
.I time
is omitted, process the queue once.
.I Time
is given as a tagged number, 
with 
`s' 
being seconds, 
`m' 
being minutes (default), 
`h' 
being hours, 
`d' 
being days, 
and 
`w' 
being weeks.
For example, 
`\-q1h30m' 
or 
`\-q90m' 
would both set the timeout to one hour thirty minutes.
By default,
.B sendmail
will run in the background.
This option can be used safely with
.BR \-bd .

.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.
The sleep time is given as the argument; it defaults to 1 second.
The process will always sleep at least 5 seconds if the queue was
empty in the previous queue run.

.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.