qmail-smtpd(8) qmail-smtpd(8) NNAAMMEE qmail-smtpd - receive mail via SMTP SSYYNNOOPPSSIISS qqmmaaiill--ssmmttppdd DDEESSCCRRIIPPTTIIOONN qqmmaaiill--ssmmttppdd receives mail messages via the Simple Mail Transfer Proto- col (SMTP) and invokes qqmmaaiill--qquueeuuee to deposit them into the outgoing queue. qqmmaaiill--ssmmttppdd must be supplied several environment variables; see ttccpp--eennvviirroonn((55)). qqmmaaiill--ssmmttppdd is responsible for counting hops. It rejects any message with 100 or more RReecceeiivveedd or DDeelliivveerreedd--TToo header fields. qqmmaaiill--ssmmttppdd supports ESMTP, including the 8BITMIME and PIPELINING options. TTRRAANNSSPPAARREENNCCYY qqmmaaiill--ssmmttppdd converts the SMTP newline convention into the UNIX newline convention by converting CR LF into LF. It returns a temporary error and drops the connection on bare LFs; see hhttttpp::////ppoobbooxx..ccoomm//~~ddjjbb//ddooccss//ssmmttppllff..hhttmmll. qqmmaaiill--ssmmttppdd accepts messages that contain long lines or non-ASCII char- acters, even though such messages violate the SMTP protocol. CCOONNTTRROOLL FFIILLEESS _b_a_d_m_a_i_l_f_r_o_m Unacceptable envelope sender addresses. qqmmaaiill--ssmmttppdd will reject every recipient address for a message if the envelope sender address is listed in _b_a_d_m_a_i_l_f_r_o_m. A line in _b_a_d_m_a_i_l_f_r_o_m may be of the form @@_h_o_s_t, meaning every address at _h_o_s_t. _d_a_t_a_b_y_t_e_s Maximum number of bytes allowed in a message, or 0 for no limit. Default: 0. If a message exceeds this limit, qqmmaaiill--ssmmttppdd returns a permanent error code to the client; in contrast, if the disk is full or qqmmaaiill--ssmmttppdd hits a resource limit, qqmmaaiill--ssmmttppdd returns a temporary error code. _d_a_t_a_b_y_t_e_s counts bytes as stored on disk, not as transmitted through the network. It does not count the qqmmaaiill--ssmmttppdd Received line, the qqmmaaiill--qquueeuuee Received line, or the envelope. If the environment variable DDAATTAABBYYTTEESS is set, it overrides _d_a_t_a_b_y_t_e_s. _l_o_c_a_l_i_p_h_o_s_t Replacement host name for local IP addresses. Default: _m_e, if that is supplied. qqmmaaiill--ssmmttppdd is responsible for recognizing dot- ted-decimal addresses for the current host. When it sees a recip- ient address of the form _b_o_x_@_[_d_._d_._d_._d_], where _d_._d_._d_._d is a local IP address, it replaces _[_d_._d_._d_._d_] with _l_o_c_a_l_i_p_h_o_s_t. This is done before _r_c_p_t_h_o_s_t_s. _m_o_r_e_r_c_p_t_h_o_s_t_s Extra allowed RCPT domains. If _r_c_p_t_h_o_s_t_s and _m_o_r_e_r_c_p_t_h_o_s_t_s both exist, _m_o_r_e_r_c_p_t_h_o_s_t_s is effectively appended to _r_c_p_t_h_o_s_t_s. You must run qqmmaaiill--nneewwmmrrhh whenever _m_o_r_e_r_c_p_t_h_o_s_t_s changes. Rule of thumb for large sites: Put your 50 most commonly used domains into _r_c_p_t_h_o_s_t_s, and the rest into _m_o_r_e_r_c_p_t_h_o_s_t_s. _r_c_p_t_h_o_s_t_s Allowed RCPT domains. If _r_c_p_t_h_o_s_t_s is supplied, qqmmaaiill--ssmmttppdd will reject any envelope recipient address with a domain not listed in _r_c_p_t_h_o_s_t_s. Exception: If the environment variable RREELLAAYYCCLLIIEENNTT is set, qqmmaaiill-- ssmmttppdd will ignore _r_c_p_t_h_o_s_t_s, and will append the value of RREELLAAYY-- CCLLIIEENNTT to each incoming recipient address. _r_c_p_t_h_o_s_t_s may include wildcards: heaven.af.mil .heaven.af.mil Envelope recipient addresses without @ signs are always allowed through. _s_m_t_p_g_r_e_e_t_i_n_g SMTP greeting message. Default: _m_e, if that is supplied; other- wise qqmmaaiill--ssmmttppdd will refuse to run. The first word of _s_m_t_p_g_r_e_e_t_- _i_n_g should be the current host’s name. _t_i_m_e_o_u_t_s_m_t_p_d Number of seconds qqmmaaiill--ssmmttppdd will wait for each new buffer of data from the remote SMTP client. Default: 1200. SSEEEE AALLSSOO tcp-env(1), tcp-environ(5), qmail-control(5), qmail-inject(8), qmail- newmrh(8), qmail-queue(8), qmail-remote(8) qmail-smtpd(8)