From 4102dcef0d1cf1c353c0e2cad06afbec577ed5af Mon Sep 17 00:00:00 2001 From: root Date: Fri, 23 Jan 2026 12:47:58 +0100 Subject: [PATCH] Fix SMTP stream proxy to listen on all interfaces for NAT reflection --- nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index 3c2ce6c..3dab7e1 100644 --- a/nginx.conf +++ b/nginx.conf @@ -121,7 +121,7 @@ stream { # SMTP Submission port (STARTTLS) - port 587 server { - listen 10.0.0.29:587 ssl; + listen 587 ssl; proxy_pass mail_submission; proxy_connect_timeout 10s; @@ -142,7 +142,7 @@ stream { # SMTPS port (implicit TLS) - port 465 server { - listen 10.0.0.29:465 ssl; + listen 465 ssl; proxy_pass mail_smtps; proxy_connect_timeout 10s;