summaryrefslogtreecommitdiff
path: root/resources/config/common/server.toml
blob: f5ea241fce7352d3ef2699971b36e32cb1e00f9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#############################################
# Server configuration
#############################################

[server]
hostname = "%{HOST}%"
max-connections = 8192
#proxy-trusted-networks = ["10.0.0.0/8", "127.0.0.0/8"]

[server.run-as]
user = "stalwart-mail"
group = "stalwart-mail"

[server.socket]
nodelay = true
reuse-addr = true
#reuse-port = true
backlog = 1024
#ttl = 3600
#send-buffer-size = 65535
#recv-buffer-size = 65535
#linger = 1
#tos = 1

[global]
shared-map = {shard = 32, capacity = 10}
#thread-pool = 8