24.9.21 ConnectionCacheTimeout
SMTP connection cache timeout V8.1 and later
Maintaining a cached connection to another host (?§24.9.20 on page 987) imposes a penalty
on both the local host and the other host. Each connection means that the other host is
running a forked sendmail process (or other MTA) that is either waiting for an SMTP QUIT
command to close the connection or for more mail to arrive. The local host has open
sockets that consume system resources.
To limit the impact on other hosts, V8 sendmail offers the ConnectionCacheTimeout option.
This option tells sendmail how long to wait for another mail message before closing the
connection.
The forms of the ConnectionCacheTimeout option are as follows:
O ConnectionCacheTimeout=wait ?†? configuration file (V8.7 and later)
-OConnectionCacheTimeout=wait ?†? command line (V8.7 and later)
define(`confMCI_CACHE_TIMEOUT??,wait) ?†? mc configuration (V8.7 and later)
OKwait ?†? configuration file (V8.6 and later)
-oKwait ?†? command line (V8.6 and later)
Optional whitespace can precede the wait. Th ewait is of type time and specifies the period
to wait before timing out a cached connection. If this option is entirely missing, the default
(for both the configuration file and the mc configuration technique) is 300 seconds (5
minutes). When specifying the wait, be sure to include a trailing s character.
Pages:
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750