|
|
1.1 root 1: '\"macro stdmacro
2: .if n .pH g1a.smtpd %W% of %G%
3: .nr X
4: .if \nX=0 .ds x} smtpd 1M "" "\&"
5: .if \nX=1 .ds x} smtpd 1M ""
6: .if \nX=2 .ds x} smtpd 1M "" "\&"
7: .if \nX=3 .ds x} smtpd "" "" "\&"
8: .TH \*(x}
9: .SH NAME
10: \f4smtpd\fP \- receive incoming \s-1SMTP\s+1 messages
11: .SH SYNOPSIS
12: \f4smtpd\f1 [ \f4\-n\f1 ] [ \f4\-H\f2 helohost \f1] [ \f4\-h\f2 thishost \f1]
13: [ \f4\-L\f2 loadlim \f1] [ \f4\-l\f2 maxprocs \f1]
14: .SH DESCRIPTION
15: \f4smtpd\fP is a daemon that normally runs while in multi-user mode,
16: waiting for requests from remote hosts to send mail.
17: \f4smtpd\fP listens for these requests on any TLI-based network for which the
18: .SM SMTP
19: service is defined (to \f4netdir_getbyname\fP(3)).
20: Normally, this will only be the ``tcp'' network.
21: As requests are received, \f4smtpd\fP will fork off child \f4smtpd\fP
22: processes to handle each individual
23: .SM SMTP
24: transaction.
25: .P
26: The options to \f4smtpd\fP and their meanings are as follows:
27: .TP 12
28: \f4\-n\fP
29: Do not create \f4smtpsched\fP processes to process the incoming mail.
30: Rely on the hourly \f4cron\fP(1) invocation of \f4smtpsched\fP instead.
31: .TP
32: \f4\-H\f2 helohost\f1
33: This option can be used to specify the name to be used for the host in the
34: initial
35: .SM SMTP
36: .SM HELO
37: message.
38: If it is not specified, the name used in the
39: .SM HELO
40: message defaults to the
41: system node name.
42: .TP
43: \f4\-h\f2 thishost\f1
44: Specify the network name to be prepended onto the sender path in the
45: \f4From\fP line of the message.
46: This option is passed through to the \f4fromsmtp\fP program.
47: .TP
48: \f4\-L\f2 loadlim\f1
49: Specify the maximum load at which \f4smtpd\fP will
50: create children.
51: If this option is not specified, there is no limit to the load at which
52: children may run.
53: The load is determined by reading the kernel variable \f4avenrun\fP.
54: .TP
55: \f4\-l\f2 maxprocs\f1
56: This option is used to specify the maximum number of children of \f4smtpd\fP
57: that can be running at once.
58: Each child handles one
59: .SM SMTP
60: conversation.
61: If this option is not specified, there is no limit to the number of children
62: that may run.
63: .P
64: Mail that is successfully received is piped to the \f4fromsmtp\fP command,
65: which in turn delivers the mail by piping it to \f4rmail\fP.
66: A log of all \f4smtpd\fP's activities is kept in the file
67: \f4/var/spool/smtpq/LOG\fP.
68: .SH FILES
69: .TP 25n
70: \f4/dev/kmem\fP
71: To get the current machine load (avenrun)
72: .TP
73: \f4/etc/services\fP
74: List of TCP/UDP services (SMTP should be 25/tcp)
75: .TP
76: \f4/etc/net/\(**/services\fP
77: List of other TLI networks' services
78: .TP
79: \f4/usr/lib/mail/surrcmd/fromsmtp\fP
80: Where incoming mail is piped to
81: .TP
82: \f4/var/spool/smtpq/LOG\fP
83: Log of smtpd transactions
84: .SH "SEE ALSO"
85: \f4cron\fP(1M), \f4fromsmtp\fP(1M), \f4smtp\fP(1M)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.