mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-02-26 17:04:05 +08:00
27 lines
532 B
TOML
27 lines
532 B
TOML
#############################################
|
|
# IMAP Directory configuration
|
|
#############################################
|
|
|
|
[directory."imap"]
|
|
type = "imap"
|
|
address = "127.0.0.1"
|
|
port = 993
|
|
|
|
[directory."imap".pool]
|
|
max-connections = 10
|
|
min-connections = 0
|
|
max-lifetime = "30m"
|
|
idle-timeout = "10m"
|
|
connect-timeout = "30s"
|
|
|
|
[directory."imap".tls]
|
|
implicit = true
|
|
allow-invalid-certs = true
|
|
|
|
[directory."imap".cache]
|
|
entries = 500
|
|
ttl = {positive = '1h', negative = '10m'}
|
|
|
|
[directory."imap".lookup]
|
|
domains = ["%{DEFAULT_DOMAIN}%"]
|
|
|