From da387539955aa238b2dd3531eb643c9917f58ad5 Mon Sep 17 00:00:00 2001 From: missytake Date: Wed, 17 Jun 2026 10:40:06 +0200 Subject: [PATCH] fix: allow IMAP & SMTP ports to be proxied by nginx --- cmdeploy/src/cmdeploy/deployers.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmdeploy/src/cmdeploy/deployers.py b/cmdeploy/src/cmdeploy/deployers.py index 3417e5f8..beeba4b4 100644 --- a/cmdeploy/src/cmdeploy/deployers.py +++ b/cmdeploy/src/cmdeploy/deployers.py @@ -495,15 +495,15 @@ def deploy_chatmail(config_path: Path, disable_mail: bool, website_only: bool) - if config.tls_cert_mode == "acme": port_services.append(("acmetool", 402)) port_services += [ - (["imap-login", "dovecot"], config.imap_port), + (["imap-login", "dovecot", "nginx"], config.imap_port), # acmetool previously listened on port 80, # so don't complain during upgrade that moved it to port 402 # and gave the port to nginx. (["acmetool", "nginx"], 80), ("nginx", 443), - (["master", "smtpd"], config.smtp_port), - (["master", "smtpd"], config.smtps_port), - (["imap-login", "dovecot"], config.imaps_port), + (["master", "smtpd", "nginx"], config.smtp_port), + (["master", "smtpd", "nginx"], config.smtps_port), + (["imap-login", "dovecot", "nginx"], config.imaps_port), ("iroh-relay", 3340), ("mtail", 3903), ("stats", 3904),