qmail-smtpd(8) Maintenance Procedures qmail-smtpd(8)
NAME
qmail-smtpd - receive mail via SMTP
SYNOPSISqmail-smtpdDESCRIPTIONqmail-smtpd receives mail messages via the Simple Mail
Transfer Protocol (SMTP) and invokes qmail-queue to deposit
them into the outgoing queue. qmail-smtpd must be supplied
several environment variables; see tcp-environ(5).
qmail-smtpd is responsible for counting hops. It rejects
any message with 100 or more Received or Delivered-To header
fields.
qmail-smtpd supports ESMTP, including the 8BITMIME and PIPE-
LINING options.
TRANSPARENCYqmail-smtpd converts the SMTP newline convention into the
UNIX newline convention by converting CR LF into LF.
qmail-smtpd accepts messages that contain long lines or
non-ASCII characters, even though such messages violate the
SMTP protocol.
CONTROLFILESbadmailfrom
Unacceptable envelope sender addresses. qmail-smtpd
will reject every recipient address for a message if
the envelope sender address is listed in badmailfrom.
A line in badmailfrom may be of the form @host, meaning
every address at host.
localiphost
Replacement host name for local IP addresses. Default:
me, if that is supplied. qmail-smtpd is responsible
for recognizing dotted-decimal addresses for the
current host. When it sees a recipient address of the
form box@[d.d.d.d], where d.d.d.d is a local IP
address, it replaces [d.d.d.d] with localiphost. This
is done before rcpthosts.
rcpthosts
Allowed RCPT domains. If rcpthosts is supplied,
qmail-smtpd will reject any envelope recipient address
with a domain not listed in rcpthosts.
Exception: If the environment variable RELAYCLIENT is
set, qmail-smtpd will ignore rcpthosts, and will append
the value of RELAYCLIENT to each incoming recipient
SunOS 5.5 Last change: 1
qmail-smtpd(8) Maintenance Procedures qmail-smtpd(8)
address.
rcpthosts may include wildcards:
heaven.af.mil
.heaven.af.mil
Envelope recipient addresses without @ signs are always
allowed through.
smtpgreeting
SMTP greeting message. Default: me, if that is sup-
plied; otherwise qmail-smtpd will refuse to run. The
first word of smtpgreeting should be the current host's
name.
timeoutsmtpd
Number of seconds qmail-smtpd will wait for each new
buffer of data from the remote SMTP client. Default:
1200.
SEEALSOtcp-env(1), tcp-environ(5), qmail-control(5), qmail-
inject(8), qmail-queue(8), qmail-remote(8)
SunOS 5.5 Last change: 2