mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-02-23 15:33:03 +08:00
73 lines
1.3 KiB
TOML
73 lines
1.3 KiB
TOML
#############################################
|
|
# Stalwart Mail Server Configuration File
|
|
#############################################
|
|
|
|
[server.listener."smtp"]
|
|
bind = ["[::]:25"]
|
|
protocol = "smtp"
|
|
|
|
[server.listener."submission"]
|
|
bind = ["[::]:587"]
|
|
protocol = "smtp"
|
|
|
|
[server.listener."submissions"]
|
|
bind = ["[::]:465"]
|
|
protocol = "smtp"
|
|
tls.implicit = true
|
|
|
|
[server.listener."imap"]
|
|
bind = ["[::]:143"]
|
|
protocol = "imap"
|
|
|
|
[server.listener."imaptls"]
|
|
bind = ["[::]:993"]
|
|
protocol = "imap"
|
|
tls.implicit = true
|
|
|
|
[server.listener.pop3]
|
|
bind = "[::]:110"
|
|
protocol = "pop3"
|
|
|
|
[server.listener.pop3s]
|
|
bind = "[::]:995"
|
|
protocol = "pop3"
|
|
tls.implicit = true
|
|
|
|
[server.listener."sieve"]
|
|
bind = ["[::]:4190"]
|
|
protocol = "managesieve"
|
|
|
|
[server.listener."https"]
|
|
protocol = "http"
|
|
bind = ["[::]:443"]
|
|
tls.implicit = true
|
|
|
|
[storage]
|
|
data = "rocksdb"
|
|
fts = "rocksdb"
|
|
blob = "rocksdb"
|
|
lookup = "rocksdb"
|
|
directory = "internal"
|
|
|
|
[store."rocksdb"]
|
|
type = "rocksdb"
|
|
path = "%{env:STALWART_PATH}%/data"
|
|
compression = "lz4"
|
|
|
|
[directory."internal"]
|
|
type = "internal"
|
|
store = "rocksdb"
|
|
|
|
[tracer."stdout"]
|
|
type = "stdout"
|
|
level = "info"
|
|
ansi = false
|
|
enable = true
|
|
|
|
#[server.run-as]
|
|
#user = "stalwart-mail"
|
|
#group = "stalwart-mail"
|
|
|
|
[authentication.fallback-admin]
|
|
user = "admin"
|
|
secret = "%{env:ADMIN_SECRET}%"
|