|
|
1.1 root 1: '\"macro stdmacro
2: .if n .pH g1a.smtp %W% of %G%
3: .nr X
4: .if \nX=0 .ds x} smtp 1M "" "\&"
5: .if \nX=1 .ds x} smtp 1M ""
6: .if \nX=2 .ds x} smtp 1M "" "\&"
7: .if \nX=3 .ds x} smtp "" "" "\&"
8: .TH \*(x}
9: .SH NAME
10: \f4smtp\fP \- send \s-1SMTP\s+1 mail to a remote host using Simple Mail Transfer Protocol
11: .SH SYNOPSIS
12: \f4smtp\f1 [ \f4\-D\f1 ] [ \f4\-d\f2 domain\f1 ] [ \f4\-H\f2 helohost\f1 ] \f2sender host recip ...
13: .SH DESCRIPTION
14: \f4smtp\fP sends a message to a remote host \f2host\fP using the Simple Mail Transfer Protocol
15: (\s-1SMTP\s+1).
16: The message is read from standard input.
17: \f2sender\fP is used to identify the sender of the message and
18: the \f2recip\fPs are used as the recipients.
19: .P
20: When establishing a connection, \f4smtp\fP will use the first transport for which
21: \f4netdir_getbyname\fP(3) returns an address, based on hostname, transport
22: [returned from \f4getnetpath\fP(3)], and service \f4smtp\fP.
23: Normally, this will be the ``tcp'' transport.
24: .P
25: The options to \f4smtp\fP and their meanings are as follows:
26: .TP 12
27: \f4\-D\fP
28: This option turns on debugging.
29: Debugging information is printed on standard error.
30: .TP 12
31: \f4\-H\f2 helohost\f1
32: This option can be used to set the hostname used in
33: .SM SMTP
34: .SM HELO
35: message (this defaults to the system's name).
36: .TP 12
37: \f4\-d\f2 domain\f1
38: This option can be used to set the domain name to be used for this host.
39: .P
40: \f4smtp\fP is normally run by the \f4smtpsched\fP process to
41: deliver mail queued in \f4/var/spool/smtpq\fP.
42: .SH FILES
43: .TP
44: /var/spool/smtpq where messages are queued
45: .SH "SEE ALSO"
46: \f4smtpsched\fP(1M)
47: .br
48: RFC821 \- Simple Mail Transfer Protocol
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.