[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."imaptls"] bind = ["[::]:993"] protocol = "imap" tls.implicit = true [server.listener.pop3s] bind = "[::]:995" protocol = "pop3" tls.implicit = true [server.listener.http] protocol = "http" bind = "[::]:80" [server.http] use-x-forwarded = true [certificate.default] cert = "%{file:/etc/letsencrypt/live/server/fullchain.pem}%" private-key = "%{file:/etc/letsencrypt/live/server/privkey.pem}%" default = true [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 = "info" path = "/opt/stalwart-mail/logs" prefix = "stalwart.log" rotate = "daily" ansi = false enable = true [authentication.fallback-admin] user = "admin" secret = "$mail_passwd_hash" [lookup.default] hostname = "mail.$BASE_DOMAIN_NAME" [session.auth] must-match-sender = [ {if = "authenticated_as == 'forum-noreply'", then = false}, {else = true} ]