mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-01-09 09:17:45 +08:00
37 lines
651 B
TOML
37 lines
651 B
TOML
#############################################
|
|
# IMAP server configuration
|
|
#############################################
|
|
|
|
[server.listener."imap"]
|
|
bind = ["0.0.0.0:143"]
|
|
protocol = "imap"
|
|
|
|
[server.listener."imaptls"]
|
|
bind = ["0.0.0.0:993"]
|
|
protocol = "imap"
|
|
tls.implicit = true
|
|
|
|
[server.listener."sieve"]
|
|
bind = ["0.0.0.0:4190"]
|
|
protocol = "managesieve"
|
|
tls.implicit = true
|
|
|
|
[imap.request]
|
|
max-size = 52428800
|
|
|
|
[imap.auth]
|
|
max-failures = 3
|
|
allow-plain-text = false
|
|
|
|
[imap.folders.name]
|
|
shared = "Shared Folders"
|
|
all = "All Mail"
|
|
|
|
[imap.timeout]
|
|
authenticated = "30m"
|
|
anonymous = "1m"
|
|
idle = "30m"
|
|
|
|
[imap.rate-limit]
|
|
requests = "2000/1m"
|
|
concurrent = 4
|