Try to investiagte the header issue.
This commit is contained in:
parent
c884036b7a
commit
ba7e32a2a7
2 changed files with 4 additions and 1 deletions
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -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";}];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue