Connlimits Option

From Messaging Server Technical Reference Wiki
Jump to: navigation, search


The connlimits option (available under http, imap, pop, mmp, imapproxy, popproxy, specifies the maximum number of connections per IP address for the selected server. The syntax is: "realm1,realm2,..." where a realm has the form of address ranges and maximum number of connections expressed as any of the following four forms:

connlimits Option Value Forms
a.b.c.d|e.f.g.h:m IPv4 address, netmask, connection max
     a.b.c.d IPv4 address
     e.f.g.h network mask
     m maximum connection count
a.b.c.d/p:m IPv4 address, routing prefix, connection max
     a.b.c.d IPv4 address
     p routing prefix
     m maximum connection count
a.b.c.d|e.f.g.h:m IPv4 address, netmask, connection max
     a.b.c.d IPv4 address
     e.f.g.h network mask
     m maximum connection count
[a/p]:m IPv6 address, routing prefix, connection max
     a IPv6 address; compressed "::" format allowed
     p routing prefix
     m maximum connection count
a.b.c.d|e.f.g.h:m IPv4 address, netmask, connection max
     a.b.c.d IPv4 address
     e.f.g.h network mask
     m maximum connection count
 :m Match any address
     m maximum connection count

There should be at least one realm of the form ":m" to cover the default case by matching any IPv4 or IPv6 address. To match only IPv4 addresses, use "0.0.0.0/0:m" or "0.0.0.0|0.0.0.0:m". And to match only IPv6 addresses, use "[::0/0]:m".

The option has no default value; however, initial configuration normally sets a value of :20 for the IMAP Proxy, and POP Proxy:


msconfig> show connlimits
role.imapproxy.connlimits = :20
role.popproxy.connlimits = :20

For backwards compatibility reasons, this option may instead specify the full path to a configuration file name that contains one realm per line. Such a file name must begin with '/'. This usage is deprecated and may be removed in a future release.

Use with http

See also:

Use with imap

See also:

Use with pop

See also:

Use with the MMP

See also:

Use with the IMAP proxy

See also:

Use with the POP proxy

See also:

Use with isc_client

The connlimits isc_client option specifies the maximum  number of connections that are permitted from a single LMTP process to  the ISC server. Starting with 8.0.2.2, this isc_client option is  deprecated;  the isc_client.max_conns option  should be used instead. 


The default value in this context is: 5


See also:


See also: