Try to investiagte the header issue.

This commit is contained in:
Root User 2026-02-15 22:18:51 +01:00
parent c884036b7a
commit ba7e32a2a7
Signed by: root
GPG key ID: 087F0A95E5766D72
2 changed files with 4 additions and 1 deletions

View file

@ -98,7 +98,7 @@ in {
protocol = "smtp"; protocol = "smtp";
tls.implicit = true; tls.implicit = true;
# Also trust proxy for SMTPS # Also trust proxy for SMTPS
proxy.trusted-networks = ["10.1.1.250/31"]; proxy.trusted-networks = ["10.1.1.250/32"];
}; };
imaps = { imaps = {
bind = "[::]:993"; bind = "[::]:993";

View file

@ -517,14 +517,17 @@ in {
# Mail TCP services # Mail TCP services
mail-smtp.loadBalancer = { mail-smtp.loadBalancer = {
proxyProtocol = { version = 2; }; # Add this line
servers = [{address = "10.1.1.15:25";}]; servers = [{address = "10.1.1.15:25";}];
}; };
mail-smtps.loadBalancer = { mail-smtps.loadBalancer = {
proxyProtocol = { version = 2; }; # Add this line
servers = [{address = "10.1.1.15:465";}]; servers = [{address = "10.1.1.15:465";}];
}; };
mail-imaps.loadBalancer = { mail-imaps.loadBalancer = {
proxyProtocol = { version = 2; }; # Add this line
servers = [{address = "10.1.1.15:993";}]; servers = [{address = "10.1.1.15:993";}];
}; };
}; };