From 9a1afe9be98ba1c71adbadfbd2576a245b9b12e2 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Thu, 12 Mar 2026 13:09:45 -0700 Subject: [PATCH] fix(encryptid): use CONFIG.smtp.from for OIDC verification emails The sendVerificationEmail function was hardcoding noreply@ridentity.online as the sender, but SMTP authenticates as noreply@rspace.online. Mailcow rejected the mismatch with 553 "Sender address rejected: not owned by user". Co-Authored-By: Claude Opus 4.6 --- src/encryptid/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/encryptid/server.ts b/src/encryptid/server.ts index 1e2c5ed..76f05bb 100644 --- a/src/encryptid/server.ts +++ b/src/encryptid/server.ts @@ -283,7 +283,7 @@ async function sendVerificationEmail(to: string, token: string, username: string } await smtpTransport.sendMail({ - from: 'EncryptID ', + from: CONFIG.smtp.from, to, subject: 'rIdentity — Verify your email address', text: [