3 qmail-smtpd \- receive mail via SMTP
8 receives mail messages via the Simple Mail Transfer Protocol (SMTP)
11 to deposit them into the outgoing queue.
13 must be supplied several environment variables;
18 is responsible for counting hops.
19 It rejects any message with 100 or more
26 supports ESMTP, including the 8BITMIME and PIPELINING options.
29 converts the SMTP newline convention into the UNIX newline convention
30 by converting CR LF into LF.
31 It returns a temporary error and drops the connection on bare LFs;
33 .BR http://pobox.com/~djb/docs/smtplf.html .
36 accepts messages that contain long lines or non-ASCII characters,
37 even though such messages violate the SMTP protocol.
41 A database of acceptable mailboxes. If present, this is used to report
42 erroneous RCPT TO commands, which can reduce the amount of junk mail
43 accepted. It contains an encoding of the virtual domains map
51 maps to an empty string), and the available local parts
56 if the address is valid or
58 if not). It's best made using
59 .BR qmail-valid-addresses (8).
62 Delay in seconds before reporting bad mailbox names after the
64 limit is reached. The default is 2.
67 Number of bad mailbox names to tolerate before dropping the connection.
68 Zero means an infinite number. The default is 50.
71 Number of bad mailbox names to tolerate before imposing delays. The
75 Unacceptable envelope sender addresses.
77 will reject every recipient address for a message
78 if the envelope sender address is listed in
84 meaning every address at
88 Maximum number of bytes allowed in a message,
91 If a message exceeds this limit,
93 returns a permanent error code to the client;
97 hits a resource limit,
99 returns a temporary error code.
102 counts bytes as stored on disk, not as transmitted through the network.
103 It does not count the
107 Received line, or the envelope.
109 If the environment variable
115 Replacement host name for local IP addresses.
120 is responsible for recognizing dotted-decimal addresses for the
122 When it sees a recipient address of the form
126 is a local IP address,
135 Extra allowed RCPT domains.
142 is effectively appended to
151 Rule of thumb for large sites:
152 Put your 50 most commonly used domains into
158 Allowed RCPT domains.
164 any envelope recipient address with a domain not listed in
166 unless the sending host is a designated relay client (see the
172 may include wildcards:
179 Envelope recipient addresses without @ signs are
180 always allowed through.
183 Allowed relay clients. Each line is a host-suffix pair, separated by a
184 colon. If the client's hostname matches one of the hostnames in the
185 file, that client is permitted to send mail to any host (i.e., to use us
186 as a relay), and the corresponding suffix is appended to all recipient
187 addresses generated by the client.
190 may include wildcards:
195 hell.irs.gov:.irs.virtdomain
198 For historical reasons, the
200 environment variable overrides this table. If
202 is set, it has the same effect as there being a matching entry in the
204 file, using the value of
209 SMTP greeting message.
218 should be the current host's name.
223 will wait for each new buffer of data from the remote SMTP client.