This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.toml
67 lines (54 loc) · 1.22 KB
/
config.toml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# https://github.com/stalwartlabs/mail-server/blob/main/resources/config/config.toml
[server.listener."smtp"]
bind = ["[::]:25"]
protocol = "smtp"
[server.listener."submissions"]
bind = ["[::]:465"]
protocol = "smtp"
tls.implicit = true
[server.listener."imaptls"]
bind = ["[::]:993"]
protocol = "imap"
tls.implicit = true
[server.listener."sieve"]
bind = ["[::]:4190"]
protocol = "managesieve"
[server.listener."caddy-aio"]
protocol = "http"
bind = ["[::]:10003"]
[storage]
data = "rocksdb"
fts = "rocksdb"
blob = "rocksdb"
lookup = "rocksdb"
directory = "internal"
[store."rocksdb"]
type = "rocksdb"
path = "/opt/stalwart-mail/data"
compression = "lz4"
[directory."internal"]
type = "internal"
store = "rocksdb"
[tracer."log"]
type = "log"
level = "trace"
path = "/var/log"
prefix = "stalwart.log"
rotate = "daily"
ansi = false
enable = true
[tracer."stdout"]
type = "stdout"
level = "info"
ansi = false
enable = true
[lookup."nextcloud-aio"]
domain = "%{env:NC_DOMAIN}%"
hostname = "mail.%{env:NC_DOMAIN}%"
[certificate.nextcloud-aio]
cert = "%{file:/opt/aio-certs/fullchain.crt}%"
default = true
private-key = "%{file:/opt/aio-certs/privkey.key}%"
[authentication.fallback-admin]
user = "admin"
secret = "%{env:STALWART_USER_PASS}%"