From 626a5b50317f7cf737598939bd935ef9140e026e Mon Sep 17 00:00:00 2001 From: Andreas Dueren Date: Wed, 22 Oct 2025 09:05:28 -0600 Subject: [PATCH] Use Cloudron STARTTLS port 2587 for SMTP Switch from plain SMTP on port 2525 to STARTTLS on port 2587. The Go smtp.SendMail function automatically handles STARTTLS negotiation when encryption is empty, which is required by Cloudron's sendmail addon on the STARTTLS port. --- CloudronManifest.json | 2 +- start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CloudronManifest.json b/CloudronManifest.json index 1b33588..ab49f3d 100644 --- a/CloudronManifest.json +++ b/CloudronManifest.json @@ -7,7 +7,7 @@ "contactEmail": "contact@ente.io", "website": "https://ente.io", "tagline": "Open source, end-to-end encrypted photo backup", - "version": "0.3.7", + "version": "0.3.8", "upstreamVersion": "git-main", "healthCheckPath": "/health", "httpPort": 3080, diff --git a/start.sh b/start.sh index f6926c7..43aa44f 100755 --- a/start.sh +++ b/start.sh @@ -123,7 +123,7 @@ JWT_SECRET_FILE="$SECRETS_DIR/jwt_secret" SESSION_SECRET_FILE="$SECRETS_DIR/session_secret" SMTP_HOST="${CLOUDRON_MAIL_SMTP_SERVER:-mail}" -SMTP_PORT="${CLOUDRON_MAIL_SMTP_PORT:-2525}" +SMTP_PORT="${CLOUDRON_MAIL_STARTTLS_PORT:-2587}" SMTP_ENCRYPTION="" SMTP_USERNAME="${CLOUDRON_MAIL_SMTP_USERNAME:-}" SMTP_PASSWORD="${CLOUDRON_MAIL_SMTP_PASSWORD:-}"