From 389c0ad3cefe9c58ed877698ffd5fed26c4b7adb Mon Sep 17 00:00:00 2001 From: Egor Savkin Date: Wed, 19 Jun 2024 15:46:47 +0800 Subject: [PATCH] Remove imap and pop3 ports proxy Signed-off-by: Egor Savkin --- m-labs-intl/nginx.conf | 55 ------------------------------------------ 1 file changed, 55 deletions(-) diff --git a/m-labs-intl/nginx.conf b/m-labs-intl/nginx.conf index 4fd4ee0..621d6a9 100644 --- a/m-labs-intl/nginx.conf +++ b/m-labs-intl/nginx.conf @@ -67,30 +67,10 @@ stream { server mail.m-labs.hk:25; } - upstream pop3_backend { - server mail.m-labs.hk:110; - } - - upstream imap_backend { - server mail.m-labs.hk:143; - } - - upstream smtps_backend { - server mail.m-labs.hk:465; - } - upstream submission_backend { server mail.m-labs.hk:587; } - upstream imaps_backend { - server mail.m-labs.hk:993; - } - - upstream pop3s_backend { - server mail.m-labs.hk:995; - } - # SMTP server { listen 25; @@ -98,45 +78,10 @@ stream { proxy_protocol on; } - # POP3 - server { - listen 110; - proxy_pass pop3_backend; - proxy_protocol on; - } - - # IMAP - server { - listen 143; - proxy_pass imap_backend; - proxy_protocol on; - } - - # SMTPS (Secure SMTP) - server { - listen 465; - proxy_pass smtps_backend; - proxy_protocol on; - } - # Submission (Authenticated SMTP) server { listen 587; proxy_pass submission_backend; proxy_protocol on; } - - # IMAPS (Secure IMAP) - server { - listen 993; - proxy_pass imaps_backend; - proxy_protocol on; - } - - # POP3S (Secure POP3) - server { - listen 995; - proxy_pass pop3s_backend; - proxy_protocol on; - } }