smtpd(1M) smtpd(1M)
NAME
smtpd - receive incoming SMTP messages
SYNOPSIS
/usr/lib/mail/surrcmd/smtpd [-n] [-H helohost] [-h thishost]
[-L loadlim] [-l maxprocs]
DESCRIPTION
smtpd is a daemon that normally runs while in multiuser mode, waiting
for requests from remote hosts to send mail. smtpd listens for these
requests on any TLI-based network for which the SMTP service is
defined to [see netdirgetbyname in netdir(3N)]. As requests are
received, smtpd will fork off child smtpd processes to handle each
individual SMTP transaction.
OPTIONS
-n Do not create smtpsched processes to process the incom-
ing mail. Rely on the hourly cron(1M) invocation of
smtpsched instead.
-H helohost This option can be used to specify the name to be used
for the host in the initial SMTP HELO message. If it is
not specified, the name used in the HELO message
defaults to the system node name.
-h thishost Specifies the network name to be prepended to the
sender path in the From line of the message.
-L loadlim Specifies the maximum load at which smtpd will create
children. If this option is not specified, there is no
limit to the load at which children may run. The load
is determined by reading the kernel variable avenrun.
-l maxprocs This option is used to specify the maximum number of
children of smtpd that can be running at once. Each
child handles one SMTP conversation. If this option is
not specified, there is no limit to the number of chil-
dren that may run.
Mail that is successfully received is put in the appropriate subdirec-
tory under /var/spool/smtpq and smtpsched is started, if the -n option
is not given. A log of all smtpd's activities is kept in the file
/var/spool/smtpq/LOG.
Page 1 Reliant UNIX 5.44 Printed 11/98
smtpd(1M) smtpd(1M)
FILES
/dev/kmem
To get the current machine load (avenrun)
/etc/services
List of TCP/UDP services (SMTP should be 25/tcp)
/etc/net/*/services
List of other TLI networks' services
/usr/lib/mail/surrcmd/fromsmtp
Where incoming mail is piped to
/var/spool/smtpq/LOG
Log of smtpd transactions
SEE ALSO
cron(1M), fromsmtp(1M), smtp(1M), netdir(3N).
Page 2 Reliant UNIX 5.44 Printed 11/98