From de86880a8f53cd839dd621dc0be17b8216246582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20M=C3=B6rling?= Date: Thu, 21 May 2026 18:50:18 +0200 Subject: [PATCH] Fix prod SMTP STARTTLS for Resend password-reset mail. The docker profile disables mail.smtp.starttls for Mailpit; prod runs docker+prod so Resend saw AUTH before STARTTLS (538). Re-enable auth and STARTTLS in application-prod.yml. Co-authored-by: Cursor --- backend/src/main/resources/application-prod.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backend/src/main/resources/application-prod.yml b/backend/src/main/resources/application-prod.yml index 6d5c219..e86dfae 100644 --- a/backend/src/main/resources/application-prod.yml +++ b/backend/src/main/resources/application-prod.yml @@ -4,6 +4,13 @@ spring: # Prod DBs created before seeds moved to db/dev-migration still list V2/V4/V6 in history. ignore-migration-patterns: '*:missing' + # docker profile disables STARTTLS for Mailpit; prod must re-enable for Resend SMTP. + mail: + properties: + mail.smtp.auth: true + mail.smtp.starttls.enable: true + mail.smtp.starttls.required: true + app: admin: email: ${ADMIN_EMAIL}