Fix the CIDR for the proxy protocol

This commit is contained in:
Nikolai Rodionov 2024-11-03 16:08:10 +01:00
parent bc6114ea40
commit 4e21267d78
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -114,52 +114,52 @@ files:
bind = ["[::]:25"] bind = ["[::]:25"]
protocol = "smtp" protocol = "smtp"
proxy.override = true proxy.override = true
proxy.trusted-networks.0 = "192.169.0.0/16" proxy.trusted-networks.0 = "192.168.0.0/16"
[server.listener."submission"] [server.listener."submission"]
bind = ["[::]:587"] bind = ["[::]:587"]
protocol = "smtp" protocol = "smtp"
proxy.override = true proxy.override = true
proxy.trusted-networks.0 = "192.169.0.0/16" proxy.trusted-networks.0 = "192.168.0.0/16"
[server.listener."submissions"] [server.listener."submissions"]
bind = ["[::]:465"] bind = ["[::]:465"]
protocol = "smtp" protocol = "smtp"
tls.implicit = true tls.implicit = true
proxy.override = true proxy.override = true
proxy.trusted-networks.0 = "192.169.0.0/16" proxy.trusted-networks.0 = "192.168.0.0/16"
[server.listener."imap"] [server.listener."imap"]
bind = ["[::]:143"] bind = ["[::]:143"]
protocol = "imap" protocol = "imap"
proxy.override = true proxy.override = true
proxy.trusted-networks.0 = "192.169.0.0/16" proxy.trusted-networks.0 = "192.168.0.0/16"
[server.listener."imaptls"] [server.listener."imaptls"]
bind = ["[::]:993"] bind = ["[::]:993"]
protocol = "imap" protocol = "imap"
tls.implicit = true tls.implicit = true
proxy.override = true proxy.override = true
proxy.trusted-networks.0 = "192.169.0.0/16" proxy.trusted-networks.0 = "192.168.0.0/16"
[server.listener.pop3] [server.listener.pop3]
bind = "[::]:110" bind = "[::]:110"
protocol = "pop3" protocol = "pop3"
proxy.override = true proxy.override = true
proxy.trusted-networks.0 = "192.169.0.0/16" proxy.trusted-networks.0 = "192.168.0.0/16"
[server.listener.pop3s] [server.listener.pop3s]
bind = "[::]:995" bind = "[::]:995"
protocol = "pop3" protocol = "pop3"
tls.implicit = true tls.implicit = true
proxy.override = true proxy.override = true
proxy.trusted-networks.0 = "192.169.0.0/16" proxy.trusted-networks.0 = "192.168.0.0/16"
[server.listener."sieve"] [server.listener."sieve"]
bind = ["[::]:4190"] bind = ["[::]:4190"]
protocol = "managesieve" protocol = "managesieve"
proxy.override = true proxy.override = true
proxy.trusted-networks.0 = "192.169.0.0/16" proxy.trusted-networks.0 = "192.168.0.0/16"
[server.listener."https"] [server.listener."https"]
protocol = "https" protocol = "https"
@ -174,7 +174,7 @@ files:
url = "protocol + '://' + key_get('default', 'hostname') + ':' + local_port" url = "protocol + '://' + key_get('default', 'hostname') + ':' + local_port"
use-x-forwarded = true use-x-forwarded = true
proxy.override = true proxy.override = true
proxy.trusted-networks.0 = "192.169.0.0/16" proxy.trusted-networks.0 = "192.168.0.0/16"
[storage] [storage]
data = "rocksdb" data = "rocksdb"