NetworkListener
Defines a network listener for accepting incoming connections.
This object can be configured from the WebUI under Settings › Network › Listeners
Fields
name
Type:
String· read-onlyUnique identifier for the listener
bind
Type:
SocketAddr[]· min items: 1The addresses the listener will bind to
protocol
Type:
NetworkListenerProtocol· default:"smtp"The protocol used by the listener
overrideProxyTrustedNetworks
Type:
IpMask[]Enable proxy protocol for connections from these networks
socketBacklog
Type:
UnsignedInt?· default:1024· min: 1The maximum number of incoming connections that can be pending in the backlog queue
socketNoDelay
Type:
Boolean· default:trueWhether the Nagle algorithm should be disabled for the socket
socketReceiveBufferSize
Type:
UnsignedInt?· min: 1The size of the buffer used for receiving data
socketReuseAddress
Type:
Boolean· default:trueWhether the socket can be bound to an address that is already in use by another socket
socketReusePort
Type:
Boolean· default:trueWhether multiple sockets can be bound to the same address and port
socketSendBufferSize
Type:
UnsignedInt?· min: 1The size of the buffer used for sending data
socketTosV4
Type:
UnsignedInt?· min: 1The type of service (TOS) value for the socket, which determines the priority of the traffic sent through the socket
socketTtl
Type:
UnsignedInt?· min: 1Time-to-live (TTL) value for the socket, which determines how many hops a packet can make before it is discarded
useTls
Type:
Boolean· default:trueWhether to enable TLS for this listener
tlsDisableCipherSuites
Type:
TlsCipherSuite[]Which cipher suites to disable
tlsDisableProtocols
Type:
TlsVersion[]Which TLS protocols to disable
tlsIgnoreClientOrder
Type:
Boolean· default:trueWhether to ignore the client's cipher order
tlsImplicit
Type:
Boolean· default:falseWhether to use implicit TLS
tlsTimeout
Type:
Duration?· default:"1m"TLS handshake timeout
maxConnections
Type:
UnsignedInt?· default:8192· min: 1The maximum number of concurrent connections the listener will accept
JMAP API
The NetworkListener object is available via the urn:stalwart:jmap capability.