From f0c225961a9ca7d69475b126afae1d9e5cc6b327 Mon Sep 17 00:00:00 2001 From: Andreas Dueren Date: Wed, 22 Oct 2025 08:54:03 -0600 Subject: [PATCH] Add SMTP authentication using Cloudron sendmail credentials Configure Museum to use CLOUDRON_MAIL_SMTP_USERNAME and CLOUDRON_MAIL_SMTP_PASSWORD for authenticated SMTP relay. This fixes the "550 I cannot deliver mail" error by properly authenticating with the Cloudron sendmail addon. --- CloudronManifest.json | 2 +- start.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CloudronManifest.json b/CloudronManifest.json index 91c0dc9..1b33588 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.6", + "version": "0.3.7", "upstreamVersion": "git-main", "healthCheckPath": "/health", "httpPort": 3080, diff --git a/start.sh b/start.sh index a9fabb7..f6926c7 100755 --- a/start.sh +++ b/start.sh @@ -122,11 +122,11 @@ HASH_KEY_FILE="$SECRETS_DIR/hash_key" JWT_SECRET_FILE="$SECRETS_DIR/jwt_secret" SESSION_SECRET_FILE="$SECRETS_DIR/session_secret" -SMTP_HOST="mail" -SMTP_PORT="2525" +SMTP_HOST="${CLOUDRON_MAIL_SMTP_SERVER:-mail}" +SMTP_PORT="${CLOUDRON_MAIL_SMTP_PORT:-2525}" SMTP_ENCRYPTION="" -SMTP_USERNAME="" -SMTP_PASSWORD="" +SMTP_USERNAME="${CLOUDRON_MAIL_SMTP_USERNAME:-}" +SMTP_PASSWORD="${CLOUDRON_MAIL_SMTP_PASSWORD:-}" SMTP_EMAIL="${CLOUDRON_MAIL_FROM:-no-reply@$RP_ID}" SMTP_SENDER_NAME="${CLOUDRON_MAIL_FROM_DISPLAY_NAME:-Ente}"